Interface ClockRecordValue
- All Superinterfaces:
JsonSerializable,RecordValue
- All Known Implementing Classes:
ImmutableClockRecordValue
Represents a stream clock event or command.
See ClockIntent for intents.
-
Method Summary
Modifier and TypeMethodDescriptionlonggetTime()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.- If the associated intent is a pin, then the time is a Unix timestamp as epoch milliseconds
- If the associated intent is an offset, then time would be the duration in milliseconds
- If the associated intent is a reset, then this value has no meaning, and will be 0
-