Package io.permazen.cli.cmd
Interface AbstractKVCommand.KVAction
- All Superinterfaces:
Session.Action,Session.RetryableTransactionalAction,Session.TransactionalAction
- Enclosing class:
- AbstractKVCommand
-
Method Summary
Modifier and TypeMethodDescriptiondefault SessionModegetTransactionMode(Session session) Get theSessionModecorresponding to the transaction that should be opened.Methods inherited from interface io.permazen.cli.Session.Action
runMethods inherited from interface io.permazen.cli.Session.TransactionalAction
getTransactionConfig
-
Method Details
-
getTransactionMode
Description copied from interface:Session.TransactionalActionGet theSessionModecorresponding to the transaction that should be opened.This must be at or below the mode of the given session.
The implementation in
Session.TransactionalActionreturnssession.Session.getMode()().- Specified by:
getTransactionModein interfaceSession.TransactionalAction- Parameters:
session- current session- Returns:
- transaction mode
-