com.hazelcast.client.txn
Class ClientTransactionManager
java.lang.Object
com.hazelcast.client.txn.ClientTransactionManager
public class ClientTransactionManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientTransactionManager
public ClientTransactionManager(HazelcastClientInstanceImpl client)
getClient
public HazelcastClientInstanceImpl getClient()
getGroupName
public String getGroupName()
newTransactionContext
public TransactionContext newTransactionContext()
newTransactionContext
public TransactionContext newTransactionContext(TransactionOptions options)
executeTransaction
public <T> T executeTransaction(TransactionalTask<T> task)
throws TransactionException
- Throws:
TransactionException
executeTransaction
public <T> T executeTransaction(TransactionOptions options,
TransactionalTask<T> task)
throws TransactionException
- Throws:
TransactionException
addManagedTransaction
public void addManagedTransaction(Xid xid,
com.hazelcast.client.txn.TransactionProxy transaction)
getManagedTransaction
public com.hazelcast.client.txn.TransactionProxy getManagedTransaction(Xid xid)
removeManagedTransaction
public void removeManagedTransaction(Xid xid)
recover
public Xid[] recover()
recover
public boolean recover(Xid xid,
boolean commit)
shutdown
public void shutdown()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.