|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
InvalidationManager (IM) represents locally managed caches and invaliders. To be able to do distributed invalidations, it is necessary to bridge these IM to forward cache invalidation messages. The InvalidationBridgeListener provides the way for any transport mechanism to be used to forward cache invalidation messages accross a network/cluster.
Revisions:
24 septembre 2002 Sacha Labourey:
InvalidationManagerMBean
Method Summary | |
void |
batchInvalidate(BatchInvalidation[] invalidations,
boolean asynchronous)
Called when a set of invalidations, concerning more than one IG, should be forwarded accross the bridge. |
void |
groupIsDropped(String groupInvalidationName)
Called when an InvocationGroup is dropped (because no cache and invalider are using it anymore). |
void |
invalidate(String invalidationGroupName,
Serializable[] keys,
boolean asynchronous)
Called when a set of invalidations, concerning a single IG, should be forwarded accross the bridge. |
void |
invalidate(String invalidationGroupName,
Serializable key,
boolean asynchronous)
Called when a single invalidation, concerning a single IG, should be forwarded accross the bridge. |
void |
invalidateAll(String groupName,
boolean asynchronous)
Issues invalidate all event to other nodes. |
void |
newGroupCreated(String groupInvalidationName)
Called when an InvocationGroup is created. |
Method Detail |
public void batchInvalidate(BatchInvalidation[] invalidations, boolean asynchronous)
invalidations
- BatchInvalidation messages containing invalidationsasynchronous
- Determine the best-effort indication to be used to communicate invalidationspublic void invalidate(String invalidationGroupName, Serializable key, boolean asynchronous)
invalidationGroupName
- InvalidationGroup namekey
- Key to be invalidatedasynchronous
- Best effort communication settingpublic void invalidate(String invalidationGroupName, Serializable[] keys, boolean asynchronous)
invalidationGroupName
- Name of the InvalidationGroup to which is linked the invalidation messagekeys
- Keys to be invalidatedasynchronous
- Best effort communication settingpublic void invalidateAll(String groupName, boolean asynchronous)
groupName
- group's nameasynchronous
- modepublic void groupIsDropped(String groupInvalidationName)
groupInvalidationName
- Name of the InvalidationGroup being droppedpublic void newGroupCreated(String groupInvalidationName)
groupInvalidationName
- Name of the InvalidationGroup just being created
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |