Package io.permazen.kv.raft.cmd
Class AbstractRaftCommand
java.lang.Object
io.permazen.cli.cmd.AbstractCommand
io.permazen.kv.raft.cmd.AbstractRaftCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractTransactionRaftCommand,RaftStartElectionCommand,RaftStatusCommand,RaftStepDownCommand
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.permazen.cli.cmd.AbstractCommand
log, name, paramParser -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.permazen.cli.cmd.AbstractCommand
execute, getAction, getHelpDetail, getHelpSummary, getName, getParser, getUsage
-
Constructor Details
-
AbstractRaftCommand
-
-
Method Details
-
getSessionModes
Description copied from class:AbstractCommandGet theSessionMode(s) supported by this command.The implementation in
AbstractCommandreturns anEnumSetcontainingSessionMode.CORE_APIandSessionMode.PERMAZEN.- Specified by:
getSessionModesin interfaceCommand- Overrides:
getSessionModesin classAbstractCommand- Returns:
- set of supported
SessionModes
-