org.infinispan.transaction
Class TransactionTable.StaleTransactionCleanup
java.lang.Object
org.infinispan.transaction.TransactionTable.StaleTransactionCleanup
- Enclosing class:
- TransactionTable
public class TransactionTable.StaleTransactionCleanup
- extends Object
Method Summary |
void |
onTopologyChange(TopologyChangedEvent tce)
Roll back local transactions that have acquired lock that are no longer valid,
either because the main data owner left the cluster or because a node joined
the cluster and is the new data owner. |
void |
onViewChange(ViewChangedEvent vce)
Roll back remote transactions originating on nodes that have left the cluster. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionTable.StaleTransactionCleanup
public TransactionTable.StaleTransactionCleanup()
onViewChange
public void onViewChange(ViewChangedEvent vce)
- Roll back remote transactions originating on nodes that have left the cluster.
onTopologyChange
public void onTopologyChange(TopologyChangedEvent tce)
- Roll back local transactions that have acquired lock that are no longer valid,
either because the main data owner left the cluster or because a node joined
the cluster and is the new data owner.
This method will only ever be called in distributed mode.
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.