public class StaleTransactionCleanupService extends Object
Constructor and Description |
---|
StaleTransactionCleanupService(TransactionTable transactionTable) |
Modifier and Type | Method and Description |
---|---|
void |
onTopologyChange(TopologyChangedEvent tce)
Roll back remote 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.
|
void |
start(Configuration configuration,
RpcManager rpcManager,
InterceptorChain interceptorChain) |
void |
stop() |
public StaleTransactionCleanupService(TransactionTable transactionTable)
public void onViewChange(ViewChangedEvent vce)
public void onTopologyChange(TopologyChangedEvent tce)
public void start(Configuration configuration, RpcManager rpcManager, InterceptorChain interceptorChain)
public void stop()
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.