Package com.illumon.iris.controller
Interface ControllerHashtableChangeListener
public interface ControllerHashtableChangeListener
Alternate way to listen to ControllerHashtableEventSource events, with adapters to allow less boilerplate code.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classControllerHashtableChangeListener.AdapterEliminates some of the boilerplate code in handling ControllerHashtable events.static classControllerHashtableChangeListener.SimpleAdapterstatic classControllerHashtableChangeListener.WeakReferenceAdapter -
Method Summary
Modifier and Type Method Description voidhandleAdd(Long key, PersistentQueryInfo newValue)Handle the addition of a <key, value> to a ControllerHashtable.voidhandleChange(Long key, PersistentQueryInfo oldValue, PersistentQueryInfo newValue)Handle a change to a <key, value> in a ControllerHashtable.voidhandleRemove(Long key, PersistentQueryInfo oldValue)Handle the removal of a <key, value> from a ControllerHashtable.
-
Method Details
-
handleAdd
Handle the addition of a <key, value> to a ControllerHashtable.- Parameters:
key- the serial number of the persistent querynewValue- the new configuration and status of the query
-
handleRemove
Handle the removal of a <key, value> from a ControllerHashtable.- Parameters:
key- the serial number of the persistent queryoldValue- the configuration and status of the query before removal
-
handleChange
Handle a change to a <key, value> in a ControllerHashtable.- Parameters:
key- the serial number of the persistent queryoldValue- the previous configuration and status of the querynewValue- the new configuration and status of the query
-