com.hazelcast.transaction.impl
Interface Transaction


public interface Transaction


Nested Class Summary
static class Transaction.State
           
 
Method Summary
 void begin()
           
 void commit()
           
 Transaction.State getState()
           
 long getTimeoutMillis()
           
 String getTxnId()
           
 void prepare()
           
 void rollback()
           
 void setRollbackOnly()
           
 

Method Detail

begin

void begin()
           throws IllegalStateException
Throws:
IllegalStateException

prepare

void prepare()
             throws TransactionException
Throws:
TransactionException

commit

void commit()
            throws TransactionException,
                   IllegalStateException
Throws:
TransactionException
IllegalStateException

rollback

void rollback()
              throws IllegalStateException
Throws:
IllegalStateException

setRollbackOnly

void setRollbackOnly()

getTxnId

String getTxnId()

getState

Transaction.State getState()

getTimeoutMillis

long getTimeoutMillis()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.