Class LostBookieRecoveryDelayCommand
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<LostBookieRecoveryDelayCommand.LBRDFlags>
org.apache.bookkeeper.tools.cli.commands.autorecovery.LostBookieRecoveryDelayCommand
public class LostBookieRecoveryDelayCommand
extends BookieCommand<LostBookieRecoveryDelayCommand.LBRDFlags>
Command to Setter and Getter for LostBookieRecoveryDelay value (in seconds) in metadata store.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags for command LostBookieRecoveryDelay. -
Field Summary
FieldsFields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(ServerConfiguration conf, LostBookieRecoveryDelayCommand.LBRDFlags cmdFlags) booleanMethods 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
-
LostBookieRecoveryDelayCommand
public LostBookieRecoveryDelayCommand()
-
-
Method Details
-
apply
- Specified by:
applyin classBookieCommand<LostBookieRecoveryDelayCommand.LBRDFlags>
-
handler
public boolean handler(ServerConfiguration conf, LostBookieRecoveryDelayCommand.LBRDFlags flags) throws InterruptedException, BKException, IOException, ReplicationException.UnavailableException, ReplicationException.CompatibilityException, org.apache.zookeeper.KeeperException - Throws:
InterruptedExceptionBKExceptionIOExceptionReplicationException.UnavailableExceptionReplicationException.CompatibilityExceptionorg.apache.zookeeper.KeeperException
-