public interface ClientSession extends ClientSession
Modifier and Type | Method and Description |
---|---|
void |
abortTransaction()
Abort a transaction in the context of this session.
|
void |
commitTransaction()
Commit a transaction in the context of this session.
|
TransactionOptions |
getTransactionOptions()
Gets the transaction options.
|
boolean |
hasActiveTransaction()
Returns true if there is an active transaction on this session, and false otherwise
|
boolean |
notifyMessageSent()
Notify the client session that a message has been sent.
|
void |
startTransaction()
Start a transaction in the context of this session with default transaction options.
|
void |
startTransaction(TransactionOptions transactionOptions)
Start a transaction in the context of this session with the given transaction options.
|
advanceClusterTime, advanceOperationTime, close, getClusterTime, getOperationTime, getOptions, getOriginator, getServerSession, isCausallyConsistent
boolean hasActiveTransaction()
boolean notifyMessageSent()
For internal use only
TransactionOptions getTransactionOptions()
void startTransaction()
void startTransaction(TransactionOptions transactionOptions)
transactionOptions
- the options to apply to the transactionvoid commitTransaction()
void abortTransaction()
Copyright © 2010 - 2020 Adobe. All Rights Reserved