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 begin()
throws IllegalStateException
IllegalStateExceptionvoid prepare()
throws TransactionException
TransactionExceptionvoid commit()
throws TransactionException,
IllegalStateException
void rollback()
throws IllegalStateException
IllegalStateExceptionString getTxnId()
Transaction.State getState()
long getTimeoutMillis()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.