case class TransactionResult extends Product with Serializable
Provides some debugging and logging facilities for tracking what happened during a transaction.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TransactionResult
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def logs(): Iterable[TransactionLogEvent]
An in-memory log is built up during each transaction.
An in-memory log is built up during each transaction. The application may want to write this to their own logs, for example upon transaction failure.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def timeTaken(): Duration
Returns the total time taken by a transaction.
- def toString(): String
- Definition Classes
- TransactionResult → AnyRef → Any
- def transactionId(): String
Returns the id of this transaction.
- def unstagingComplete(): Boolean
Returns whether all documents were successfully unstaged (committed).
Returns whether all documents were successfully unstaged (committed).
This will only return true if the transaction reached the COMMIT point and then went on to reach the COMPLETE point.
It will be false for transactions that: - Rolled back - Were read-only