Class TokenFullSyncState

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class TokenFullSyncState
    extends SpecificRecordBase implements SpecificRecord
                        

    The state of a full synchronization process

    • Constructor Detail

      • TokenFullSyncState

        TokenFullSyncState()
        Default constructor.
      • TokenFullSyncState

        TokenFullSyncState(Instant startedTimestamp, Instant lastBlockCompletedTimestamp, Integer blocksCompleted, Integer recordsCompleted, Instant nextBlockStartOffset)
        All-args constructor.
        Parameters:
        startedTimestamp - The date and time the last full synchronization completed.
        lastBlockCompletedTimestamp - The date and time the last full synchronization completed.
        blocksCompleted - The number of blocks completed
        recordsCompleted - The number of records completed
        nextBlockStartOffset - The (inclusive) timestamp to start reading the next block of records