Interface LWWRegister.Clock<A>

  • Enclosing class:
    LWWRegister<A>

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

      • 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