|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- type of keys used to identify registry itemsV
- type of values stored in the registrypublic interface ProvidingRegistry<K extends java.io.Serializable,V extends java.io.Serializable>
Generic interface for ProvidingRegistry. The main purpose of provider registry is to provide ability to register (or publish) items stored in the distributed registry. Appropriate ConsumerRegistries that shares data with this registry will be notified of the items published by the ProvidingRegistry.
ConsumingRegistry
Method Summary | |
---|---|
void |
notifyAllRegistrations()
Forces registry to issue notification for all registered items. |
void |
registerItem(K aItemKey,
V aItem)
Registers item stored under given key |
void |
unregisterAllItems()
|
void |
unRegisterItem(K aItemKey)
Performs un-registration of the item under given key. |
Method Detail |
---|
void registerItem(K aItemKey, V aItem)
aItemKey
- key of the item to be registeredaItem
- the item to be registeredvoid unRegisterItem(K aItemKey)
aItemKey
- item to unregistervoid notifyAllRegistrations()
void unregisterAllItems()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |