Package org.apache.pekko.cluster.ddata
Interface LWWRegister.Clock<A>
-
- Enclosing class:
- LWWRegister<A>
public static interface LWWRegister.Clock<A>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longapply(long currentTimestamp, A value)
-
-
-
Method Detail
-
apply
long apply(long currentTimestamp, A value)- Parameters:
currentTimestamp- the currenttimestampvalue of theLWWRegistervalue- the register value to set and associate with the returned timestamp- Returns:
- next timestamp
-
-