Interface Session.TransactionalActionWithOptions

All Superinterfaces:
Session.Action, Session.TransactionalAction
All Known Implementing Classes:
AbstractTransactionRaftCommand.RaftTransactionAction
Enclosing class:
Session

public static interface Session.TransactionalActionWithOptions extends Session.TransactionalAction
Extension of Session.TransactionalAction that indicates the action provides custom transaction options.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the options, if any, to be used when creating a new transaction for this action to run in.

    Methods inherited from interface io.permazen.cli.Session.Action

    run
  • Method Details

    • getTransactionOptions

      Map<String,?> getTransactionOptions()
      Get the options, if any, to be used when creating a new transaction for this action to run in.
      Returns:
      KVDatabase-specific transaction options, or null for none