public static interface LWWRegister.Clock<A>
Modifier and Type | Method and Description |
---|---|
long |
apply(long currentTimestamp,
A value) |
long apply(long currentTimestamp, A value)
currentTimestamp
- the current timestamp
value of the LWWRegister
value
- the register value to set and associate with the returned timestamp