public interface Transaction
Modifier and Type | Interface and Description |
---|---|
static class |
Transaction.State |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
Transaction.State |
getState() |
long |
getTimeoutMillis() |
String |
getTxnId() |
void |
prepare() |
void |
rollback() |
void |
setRollbackOnly() |
void begin() throws IllegalStateException
IllegalStateException
void prepare() throws TransactionException
TransactionException
void commit() throws TransactionException, IllegalStateException
void rollback() throws IllegalStateException
IllegalStateException
void setRollbackOnly()
String getTxnId()
Transaction.State getState()
long getTimeoutMillis()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.