Interface GenerationCounter


  • public interface GenerationCounter
    Interface for counters.
    Author:
    Ulf Lilleengen
    • Method Detail

      • increment

        long increment()
        Increment counter and return new value.
        Returns:
        incremented counter value.
      • get

        long get()
        Returns:
        current counter value.