Class CheckpointMetricsBuilder


  • @NotThreadSafe
    public class CheckpointMetricsBuilder
    extends Object
    A builder for CheckpointMetrics.

    This class is not thread safe, but parts of it can actually be used from different threads.

    • Constructor Detail

      • CheckpointMetricsBuilder

        public CheckpointMetricsBuilder()
    • Method Detail

      • setBytesProcessedDuringAlignment

        public CheckpointMetricsBuilder setBytesProcessedDuringAlignment​(long bytesProcessedDuringAlignment)
      • setBytesPersistedDuringAlignment

        public CheckpointMetricsBuilder setBytesPersistedDuringAlignment​(long bytesPersistedDuringAlignment)
      • getAlignmentDurationNanosOrDefault

        public long getAlignmentDurationNanosOrDefault()
      • setAlignmentDurationNanos

        public CheckpointMetricsBuilder setAlignmentDurationNanos​(long alignmentDurationNanos)
      • getSyncDurationMillis

        public long getSyncDurationMillis()
      • getAsyncDurationMillis

        public long getAsyncDurationMillis()
      • setCheckpointStartDelayNanos

        public CheckpointMetricsBuilder setCheckpointStartDelayNanos​(long checkpointStartDelayNanos)
      • getCheckpointStartDelayNanos

        public long getCheckpointStartDelayNanos()
      • getBytesPersistedOfThisCheckpoint

        public long getBytesPersistedOfThisCheckpoint()
      • setBytesPersistedOfThisCheckpoint

        public CheckpointMetricsBuilder setBytesPersistedOfThisCheckpoint​(long bytesPersistedOfThisCheckpoint)