Interface GenerationCounter


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

    Modifier and Type
    Method
    Description
    long
    get()
     
    long
    Increment counter and return new value.
  • Method Details

    • increment

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

      long get()
      Returns:
      current counter value.