com.hazelcast.transaction.impl
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
IllegalStateException
void prepare() throws TransactionException
TransactionException
void commit() throws TransactionException, IllegalStateException
void rollback() throws IllegalStateException
IllegalStateException
String getTxnId()
Transaction.State getState()
long getTimeoutMillis()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.