Class SwitchOfHealthCheckCommand
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<SwitchOfHealthCheckCommand.HealthCheckFlags>
org.apache.bookkeeper.tools.cli.commands.health.SwitchOfHealthCheckCommand
public class SwitchOfHealthCheckCommand
extends BookieCommand<SwitchOfHealthCheckCommand.HealthCheckFlags>
Command to enable or disable health check in the cluster.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags for health check command. -
Field Summary
FieldsFields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(ServerConfiguration conf, SwitchOfHealthCheckCommand.HealthCheckFlags cmdFlags) Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
applyMethods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, applyMethods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
Field Details
-
LOG
static final org.slf4j.Logger LOG
-
-
Constructor Details
-
SwitchOfHealthCheckCommand
public SwitchOfHealthCheckCommand()
-
-
Method Details
-
apply
public boolean apply(ServerConfiguration conf, SwitchOfHealthCheckCommand.HealthCheckFlags cmdFlags) - Specified by:
applyin classBookieCommand<SwitchOfHealthCheckCommand.HealthCheckFlags>
-