Interface ControllerHashtableChangeListener


public interface ControllerHashtableChangeListener
Alternate way to listen to ControllerHashtableEventSource events, with adapters to allow less boilerplate code.
  • Method Details

    • handleAdd

      void handleAdd​(Long key, PersistentQueryInfo newValue)
      Handle the addition of a <key, value> to a ControllerHashtable.
      Parameters:
      key - the serial number of the persistent query
      newValue - the new configuration and status of the query
    • handleRemove

      void handleRemove​(Long key, PersistentQueryInfo oldValue)
      Handle the removal of a <key, value> from a ControllerHashtable.
      Parameters:
      key - the serial number of the persistent query
      oldValue - the configuration and status of the query before removal
    • handleChange

      void handleChange​(Long key, PersistentQueryInfo oldValue, PersistentQueryInfo newValue)
      Handle a change to a <key, value> in a ControllerHashtable.
      Parameters:
      key - the serial number of the persistent query
      oldValue - the previous configuration and status of the query
      newValue - the new configuration and status of the query