Class TriggerAuditCommand
- 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<CliFlags>
-
- org.apache.bookkeeper.tools.cli.commands.autorecovery.TriggerAuditCommand
-
public class TriggerAuditCommand extends BookieCommand<CliFlags>
Command to trigger AuditTask by resetting lostBookieRecoveryDelay to its current value.
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description TriggerAuditCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, CliFlags cmdFlags)
boolean
handler(ServerConfiguration configuration)
-
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, CliFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<CliFlags>
-
handler
public boolean handler(ServerConfiguration configuration) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-