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
IllegalStateException
void prepare() throws TransactionException
TransactionException
void commit() throws TransactionException, IllegalStateException
void rollback() throws IllegalStateException
IllegalStateException
String 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 © 2021 Hazelcast, Inc.. All Rights Reserved.