Class BookieCommand<BookieFlagsT extends CliFlags>
- java.lang.Object
-
- org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
-
- org.apache.bookkeeper.tools.common.BKCommand<BookieFlagsT>
-
- org.apache.bookkeeper.tools.cli.helpers.BookieCommand<BookieFlagsT>
-
- Direct Known Subclasses:
AdminCommand,CheckDBLedgersIndexCommand,ClusterInfoCommand,ConvertToDBStorageCommand,ConvertToInterleavedStorageCommand,DecommissionCommand,DeleteLedgerCommand,EndpointInfoCommand,FlipBookieIdCommand,FormatCommand,InfoCommand,InitCommand,InitCommand,InstanceIdCommand,LastMarkCommand,LedgerCommand,LedgerMetaDataCommand,ListActiveLedgersCommand,ListFilesOnDiscCommand,ListLedgersCommand,ListUnderReplicatedCommand,LocalConsistencyCheckCommand,LostBookieRecoveryDelayCommand,MetaFormatCommand,NukeExistingClusterCommand,QueryAutoRecoveryStatusCommand,ReadJournalCommand,ReadLedgerCommand,ReadLogCommand,ReadLogMetadataCommand,RebuildDBLedgerLocationsIndexCommand,RebuildDBLedgersIndexCommand,RecoverCommand,RegenerateInterleavedStorageIndexFileCommand,SanityTestCommand,SwitchOfHealthCheckCommand,ToggleCommand,TriggerAuditCommand,UpdateBookieInLedgerCommand,WhoIsAuditorCommand
public abstract class BookieCommand<BookieFlagsT extends CliFlags> extends BKCommand<BookieFlagsT>
This is a mixin for bookie related commands to extends.
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBookieCommand(CliSpec<BookieFlagsT> spec)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected booleanapply(ServiceURI serviceURI, org.apache.commons.configuration2.CompositeConfiguration conf, BKFlags globalFlags, BookieFlagsT cmdFlags)abstract booleanapply(ServerConfiguration conf, BookieFlagsT cmdFlags)-
Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, apply
-
Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
-
-
-
Constructor Detail
-
BookieCommand
protected BookieCommand(CliSpec<BookieFlagsT> spec)
-
-
Method Detail
-
apply
protected boolean apply(ServiceURI serviceURI, org.apache.commons.configuration2.CompositeConfiguration conf, BKFlags globalFlags, BookieFlagsT cmdFlags)
- Specified by:
applyin classBKCommand<BookieFlagsT extends CliFlags>
-
apply
public abstract boolean apply(ServerConfiguration conf, BookieFlagsT cmdFlags)
-
-