Delegate Clock<T>
Delegate responsible for managing LWWRegister<T> clock.
Namespace: Akka.DistributedData
Assembly: Akka.DistributedData.dll
Syntax
public delegate long Clock<in T>(long currentTimestamp, T value);
Parameters
Type | Name | Description |
---|---|---|
Int64 | currentTimestamp | The current timestamp value of the LWWRegister<T>. |
T | value | The register value to set and associate with the returned timestamp. |
Returns
Type | Description |
---|---|
Int64 | Next timestamp |
Type Parameters
Name | Description |
---|---|
T | TBD |