Package com.illumon.iris.controller
Class ControllerHashtableEvent
java.lang.Object
com.illumon.iris.controller.ControllerHashtableEvent
public final class ControllerHashtableEvent extends Object
Description of a Controller Hashtable event.
-
Field Summary
Fields Modifier and Type Field Description static intEVENT_PUTAn addition or modification to the controller hash table.static intEVENT_PUTALLBulk addition, modification, or removals from the controller hash table.static intEVENT_REMOVEA removal from the controller hash table. -
Method Summary
Modifier and Type Method Description Map<Long,PersistentQueryInfo>getAll()Returns the added or modified PersistentQueryInfos forEVENT_PUTALLintgetEventType()Returns the event type.longgetKey()Returns the serial forEVENT_PUTorEVENT_REMOVEPersistentQueryInfogetOldValue()Returns the old value forEVENT_PUTorEVENT_REMOVEMap<Long,PersistentQueryInfo>getRemoved()Returns the removed PersistentQueryInfos forEVENT_PUTALLPersistentQueryInfogetValue()Returns the new value forEVENT_PUT
-
Field Details
-
EVENT_PUT
public static final int EVENT_PUTAn addition or modification to the controller hash table.- See Also:
- Constant Field Values
-
EVENT_REMOVE
public static final int EVENT_REMOVEA removal from the controller hash table.- See Also:
- Constant Field Values
-
EVENT_PUTALL
public static final int EVENT_PUTALLBulk addition, modification, or removals from the controller hash table.- See Also:
- Constant Field Values
-
-
Method Details
-
getEventType
public int getEventType()Returns the event type.- Returns:
- one of
EVENT_PUT,EVENT_PUTALL, orEVENT_REMOVE
-
getKey
public long getKey()Returns the serial forEVENT_PUTorEVENT_REMOVE- Returns:
- the serial for the added, modified, or removed PersistentQueryInfo
-
getValue
Returns the new value forEVENT_PUT- Returns:
- the modified PersistentQueryInfo
-
getOldValue
Returns the old value forEVENT_PUTorEVENT_REMOVE- Returns:
- the previous PersistentQueryInfo
-
getAll
Returns the added or modified PersistentQueryInfos forEVENT_PUTALL- Returns:
- the added or modified queries
-
getRemoved
Returns the removed PersistentQueryInfos forEVENT_PUTALL- Returns:
- the removed configurations
-