com.hazelcast.transaction.impl
Interface Transaction
public interface Transaction
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.