Interface StreamOperation.TransactionEvent

All Superinterfaces:
StreamOperation
Enclosing interface:
StreamOperation

public static interface StreamOperation.TransactionEvent extends StreamOperation
Used to signal a Transaction operation
  • Method Details

    • getTransactionId

      TransactionId getTransactionId()
      Returns the transaction id
      Returns:
      transaction id
    • getTransactionType

      Returns the type of the transaction as StreamOperation.TransactionEvent.TransactionType
      Returns:
      transaction type
    • getNumOperations

      long getNumOperations()
      Returns the number of write operations in the transaction
      Returns:
      the number of write operations
    • getOperations

      List<StreamOperation> getOperations()
      Returns an ordered list of write operations in the transaction. All write operations are on the same order they are performed in the source kvstore.
      Returns:
      ordered list of write operations.