Interface ClockRecordValue

All Superinterfaces:
JsonSerializable, RecordValue
All Known Implementing Classes:
ImmutableClockRecordValue

@Immutable public interface ClockRecordValue extends RecordValue
Represents a stream clock event or command.

See ClockIntent for intents.

  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of this clock modification, if any.

    Methods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable

    toJson
  • Method Details

    • getTime

      long getTime()
      Returns the value of this clock modification, if any.
      1. If the associated intent is a pin, then the time is a Unix timestamp as epoch milliseconds
      2. If the associated intent is an offset, then time would be the duration in milliseconds
      3. If the associated intent is a reset, then this value has no meaning, and will be 0