|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface DistributedState.DSListenerEx
A generalization of the DSListener that supports the Serializable key type. When a particular key in a category of the DistributedState service gets modified, all listeners will be notified of DS changes for that category.
| Method Summary | |
|---|---|
void |
keyHasBeenRemoved(String category,
Serializable key,
Serializable previousContent,
boolean locallyModified)
Called whenever a key has been removed from a category the called object had subscribed in. |
void |
valueHasChanged(String category,
Serializable key,
Serializable value,
boolean locallyModified)
Called whenever a key has been added or modified in the category the called object has subscribed in. |
| Method Detail |
|---|
void valueHasChanged(String category,
Serializable key,
Serializable value,
boolean locallyModified)
category - The category of the modified/added entrykey - The key that has been added or had its value modifiedvalue - The new value of the keylocallyModified - Whether the change was made from this node
void keyHasBeenRemoved(String category,
Serializable key,
Serializable previousContent,
boolean locallyModified)
category - The category under which a key has been removedkey - The key that has been removedpreviousContent - The previous content of the key that has been removedlocallyModified - Whether the removal was made from this node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||