Interface SharedCountReader

All Superinterfaces:
Listenable<SharedCountListener>
All Known Implementing Classes:
SharedCount

public interface SharedCountReader extends Listenable<SharedCountListener>
Abstracts a shared integer and allows listening for changes to its value
  • Method Details

    • getCount

      int getCount()
      Return the current value of the count
      Returns:
      count
    • getVersionedValue

      VersionedValue<Integer> getVersionedValue()
      Return the current count and version
      Returns:
      count and version