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
-
Field Summary
Fields inherited from class io.permazen.cli.cmd.AbstractCommand
log, name, paramParser
-
Constructor Summary
-
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:AbstractCommand
Get theSessionMode
(s) supported by this command.The implementation in
AbstractCommand
returns anEnumSet
containingSessionMode.CORE_API
andSessionMode.PERMAZEN
.- Specified by:
getSessionModes
in interfaceCommand
- Overrides:
getSessionModes
in classAbstractCommand
- Returns:
- set of supported
SessionMode
s
-