public interface Transaction
| Modifier and Type | Interface and Description |
|---|---|
static class |
Transaction.State |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TransactionLogRecord record) |
void |
begin() |
void |
commit() |
TransactionLogRecord |
get(Object key) |
String |
getOwnerUuid() |
Transaction.State |
getState() |
long |
getTimeoutMillis() |
TransactionOptions.TransactionType |
getTransactionType() |
String |
getTxnId() |
boolean |
isOriginatedFromClient() |
void |
prepare() |
void |
remove(Object key) |
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()
void add(TransactionLogRecord record)
void remove(Object key)
TransactionLogRecord get(Object key)
String getOwnerUuid()
boolean isOriginatedFromClient()
TransactionOptions.TransactionType getTransactionType()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.