org.infinispan.transaction
Class AbstractEnlistmentAdapter

java.lang.Object
  extended by org.infinispan.transaction.AbstractEnlistmentAdapter
Direct Known Subclasses:
SynchronizationAdapter, TransactionXaAdapter

public abstract class AbstractEnlistmentAdapter
extends Object

Base class for both Sync and XAResource enlistment adapters.

Since:
5.1
Author:
Mircea Markus

Field Summary
protected  Configuration config
           
 
Constructor Summary
AbstractEnlistmentAdapter(CacheTransaction cacheTransaction, CommandsFactory commandsFactory, RpcManager rpcManager, TransactionTable txTable, ClusteringDependentLogic clusteringLogic, Configuration configuration)
           
AbstractEnlistmentAdapter(CommandsFactory commandsFactory, RpcManager rpcManager, TransactionTable txTable, ClusteringDependentLogic clusteringLogic, Configuration configuration)
           
 
Method Summary
 int hashCode()
          Invoked by TransactionManagers, make sure it's an efficient implementation.
protected  void releaseLocksForCompletedTransaction(LocalTransaction localTransaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected final Configuration config
Constructor Detail

AbstractEnlistmentAdapter

public AbstractEnlistmentAdapter(CacheTransaction cacheTransaction,
                                 CommandsFactory commandsFactory,
                                 RpcManager rpcManager,
                                 TransactionTable txTable,
                                 ClusteringDependentLogic clusteringLogic,
                                 Configuration configuration)

AbstractEnlistmentAdapter

public AbstractEnlistmentAdapter(CommandsFactory commandsFactory,
                                 RpcManager rpcManager,
                                 TransactionTable txTable,
                                 ClusteringDependentLogic clusteringLogic,
                                 Configuration configuration)
Method Detail

releaseLocksForCompletedTransaction

protected final void releaseLocksForCompletedTransaction(LocalTransaction localTransaction)

hashCode

public final int hashCode()
Invoked by TransactionManagers, make sure it's an efficient implementation. System.identityHashCode(x) is NOT an efficient implementation.

Overrides:
hashCode in class Object

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.