| java.lang.Object org.jboss.cache.invalidation.InvalidationsTxGrouper
InvalidationsTxGrouper | public class InvalidationsTxGrouper (Code) | | 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.
author: Sacha Labourey. version: $Revision: 57209 $ See Also: InvalidationManagerMBean See Also: BatchInvalidation See Also: InvalidatorSynchronization |
Field Summary | |
static Logger | log |
|
|