Uses of Enum Class
io.permazen.cli.SessionMode
Package
Description
Components that support integrating Permazen into a Java Console Toolkit console.
Permazen CLI application commands.
Permazen CLI
Command
related classes, including pre-defined commands.Classes for parsing command line flags in order to configure a Permazen command line interface (CLI) session.
CLI commands relating to
Jsck
, the Permazen key/value database consistency checker.Raft-related CLI
Command
s.-
Uses of SessionMode in io.permazen.cli
Modifier and TypeMethodDescriptionSession.getMode()
Get this instance'sSessionMode
.Session.TxInfo.getMode()
Get theSessionMode
that the transaction was opened with.default SessionMode
Session.TransactionalAction.getTransactionMode
(Session session) Get theSessionMode
corresponding to the transaction that should be opened.static SessionMode
Returns the enum constant of this class with the specified name.static SessionMode[]
SessionMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionSession.openBranchedTransaction
(SessionMode txMode, Map<String, ?> openOptions, Map<String, ?> syncOptions) Open a new branched transaction and associate it with this instance.Session.openTransaction
(SessionMode txMode, Map<String, ?> kvoptions) Open a new transaction in the specified mode and associate it with this instance.void
Session.setMode
(SessionMode mode) Change this instance'sSessionMode
. -
Uses of SessionMode in io.permazen.cli.app.cmd
-
Uses of SessionMode in io.permazen.cli.cmd
Modifier and TypeMethodDescriptiondefault SessionMode
AbstractKVCommand.KVAction.getTransactionMode
(Session session) Modifier and TypeMethodDescriptionAbstractCommand.getSessionModes()
Get theSessionMode
(s) supported by this command.Command.getSessionModes()
Get theSessionMode
(s) supported by this command.CompareSchemasCommand.getSessionModes()
InfoCommand.getSessionModes()
KVGetCommand.getSessionModes()
KVLoadCommand.getSessionModes()
KVPutCommand.getSessionModes()
KVRemoveCommand.getSessionModes()
KVSaveCommand.getSessionModes()
SetSessionModeCommand.getSessionModes()
SetValidationModeCommand.getSessionModes()
ShowSchemaCommand.getSessionModes()
-
Uses of SessionMode in io.permazen.cli.config
Modifier and TypeFieldDescriptionprotected joptsimple.OptionSpec<SessionMode>
CoreApiCliConfig.sessionModeOption
Modifier and TypeMethodDescriptionprotected SessionMode
CoreApiCliConfig.getDefaultSessionMode()
Get the defaultSessionMode
.protected SessionMode
PermazenCliConfig.getDefaultSessionMode()
-
Uses of SessionMode in io.permazen.jsck.cmd
-
Uses of SessionMode in io.permazen.kv.raft.cmd
Modifier and TypeMethodDescriptionAbstractRaftCommand.getSessionModes()
RaftFallbackForceStandaloneCommand.getSessionModes()
RaftFallbackStatusCommand.getSessionModes()