Package io.permazen.cli
Interface Session.TransactionalActionWithOptions
- All Superinterfaces:
Session.Action,Session.TransactionalAction
- All Known Implementing Classes:
AbstractTransactionRaftCommand.RaftTransactionAction
- Enclosing class:
- Session
Extension of
Session.TransactionalAction that indicates the action provides custom transaction options.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet 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
runMethods inherited from interface io.permazen.cli.Session.TransactionalAction
getTransactionConfig, getTransactionMode
-
Method Details
-
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
-