public interface ITxState extends ITxState0
ITransactionService.| Modifier and Type | Method and Description |
|---|---|
boolean |
isAborted()
A transaction is "aborted" iff it has successfully aborted.
|
boolean |
isActive()
A transaction is "active" when it is created and remains active until it
prepares or aborts.
|
boolean |
isCommitted()
A transaction is "committed" iff it has successfully committed.
|
boolean |
isComplete()
A transaction is "complete" once has either committed or aborted.
|
boolean |
isPrepared()
A transaction is "prepared" once it has been successfully validated and
has fulfilled its pre-commit contract for a multi-stage commit protocol.
|
boolean |
isReadOnly()
Return
true iff this is a read-only transaction. |
getReadsOnCommitTime, getStartTimestampboolean isActive()
boolean isPrepared()
Note: This is a transient state. Once the transaction has prepared it
will transition to either COMMIT or ABORT and this method will no longer
report true.
boolean isComplete()
boolean isCommitted()
boolean isAborted()
boolean isReadOnly()
true iff this is a read-only transaction.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.