Interface LWWRegister.Clock<A>

Enclosing class:
LWWRegister<A>

public static interface LWWRegister.Clock<A>
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    apply(long currentTimestamp, A value)
     
  • Method Details

    • apply

      long apply(long currentTimestamp, A value)
      Parameters:
      currentTimestamp - the current timestamp value of the LWWRegister
      value - the register value to set and associate with the returned timestamp
      Returns:
      next timestamp