Interface SharedCountListener

All Superinterfaces:
ConnectionStateListener

public interface SharedCountListener extends ConnectionStateListener
Listener for changes to a shared count
  • Method Details

    • countHasChanged

      void countHasChanged(SharedCountReader sharedCount, int newCount) throws Exception
      Called when the shared value has changed
      Parameters:
      sharedCount - the shared count instance
      newCount - the new count
      Throws:
      Exception - errors