case class TransactionResult extends Product with Serializable

Provides some debugging and logging facilities for tracking what happened during a transaction.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionResult
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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.

  2. def productElementNames: Iterator[String]
    Definition Classes
    Product
  3. def timeTaken(): Duration

    Returns the total time taken by a transaction.

  4. def toString(): String
    Definition Classes
    TransactionResult → AnyRef → Any
  5. def transactionId(): String

    Returns the id of this transaction.

  6. 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