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 Classes Modifier and Type Class Description static class
LostBookieRecoveryDelayCommand.LBRDFlags
Flags for command LostBookieRecoveryDelay.
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.slf4j.Logger
LOG
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description LostBookieRecoveryDelayCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, LostBookieRecoveryDelayCommand.LBRDFlags cmdFlags)
boolean
handler(ServerConfiguration conf, LostBookieRecoveryDelayCommand.LBRDFlags flags)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
apply
-
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
-
-
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, LostBookieRecoveryDelayCommand.LBRDFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<LostBookieRecoveryDelayCommand.LBRDFlags>
-
handler
public boolean handler(ServerConfiguration conf, LostBookieRecoveryDelayCommand.LBRDFlags flags) throws java.lang.InterruptedException, BKException, java.io.IOException, ReplicationException.UnavailableException, ReplicationException.CompatibilityException, org.apache.zookeeper.KeeperException
- Throws:
java.lang.InterruptedException
BKException
java.io.IOException
ReplicationException.UnavailableException
ReplicationException.CompatibilityException
org.apache.zookeeper.KeeperException
-
-