|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.invalidation.InvalidationsTxGrouper
Utility class that can be used to group invalidations in a set of BatchInvalidations structure and only commit them alltogether at transaction commit-time. The invalidations are grouped (in this order): - by transaction - by InvalidationManager instance - by InvalidationGroup
This object will manage the transaction registering by itself if not already done. Thus, once a transaction commits, it will prepare a set of BatchInvalidation collections (one for each InvalidationManager involved): on BI instance for each InvalidationGroup. Then it will call the IM.batchInvalidation method.
InvalidationManagerMBean
(src) ,
BatchInvalidation
(src) ,
InvalidatorSynchronization
Constructor Summary | |
InvalidationsTxGrouper()
|
Method Summary | |
static void |
registerInvalidationSynchronization(Transaction (src) tx,
InvalidationGroup (src) group,
java.io.Serializable key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InvalidationsTxGrouper()
Method Detail |
public static void registerInvalidationSynchronization(Transaction (src) tx, InvalidationGroup (src) group, java.io.Serializable key) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |