com.hazelcast.client
Class TransactionClientProxy

java.lang.Object
  extended by com.hazelcast.client.TransactionClientProxy
All Implemented Interfaces:
Transaction

public class TransactionClientProxy
extends Object
implements Transaction


Field Summary
 
Fields inherited from interface com.hazelcast.core.Transaction
TXN_STATUS_ACTIVE, TXN_STATUS_COMMITTED, TXN_STATUS_COMMITTING, TXN_STATUS_NO_TXN, TXN_STATUS_PREPARED, TXN_STATUS_PREPARING, TXN_STATUS_ROLLED_BACK, TXN_STATUS_ROLLING_BACK, TXN_STATUS_UNKNOWN
 
Constructor Summary
TransactionClientProxy(String name, HazelcastClient client)
           
 
Method Summary
 void begin()
           
 void commit()
           
 int getStatus()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionClientProxy

public TransactionClientProxy(String name,
                              HazelcastClient client)
Method Detail

begin

public void begin()
           throws IllegalStateException
Specified by:
begin in interface Transaction
Throws:
IllegalStateException

commit

public void commit()
            throws IllegalStateException
Specified by:
commit in interface Transaction
Throws:
IllegalStateException

getStatus

public int getStatus()
Specified by:
getStatus in interface Transaction

rollback

public void rollback()
              throws IllegalStateException
Specified by:
rollback in interface Transaction
Throws:
IllegalStateException


Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.