Package akka.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 long
apply(long currentTimestamp, A value)
-
-
-
Method Detail
-
apply
long apply(long currentTimestamp, A value)
- Parameters:
currentTimestamp
- the currenttimestamp
value of theLWWRegister
value
- the register value to set and associate with the returned timestamp- Returns:
- next timestamp
-
-