Class SanityTestCommand
- 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<SanityTestCommand.SanityFlags>
-
- org.apache.bookkeeper.tools.cli.commands.bookie.SanityTestCommand
-
public class SanityTestCommand extends BookieCommand<SanityTestCommand.SanityFlags>
A bookie command to sanity test for local bookie.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SanityTestCommand.SanityFlags
Flags for sanity command.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description SanityTestCommand()
SanityTestCommand(SanityTestCommand.SanityFlags flags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, SanityTestCommand.SanityFlags cmdFlags)
static void
close(BookKeeper bk, LedgerHandle lh)
static java.util.concurrent.CompletableFuture<java.lang.Boolean>
handleAsync(ServerConfiguration conf, SanityTestCommand.SanityFlags cmdFlags)
-
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
-
-
-
-
Constructor Detail
-
SanityTestCommand
public SanityTestCommand()
-
SanityTestCommand
public SanityTestCommand(SanityTestCommand.SanityFlags flags)
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, SanityTestCommand.SanityFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<SanityTestCommand.SanityFlags>
-
handleAsync
public static java.util.concurrent.CompletableFuture<java.lang.Boolean> handleAsync(ServerConfiguration conf, SanityTestCommand.SanityFlags cmdFlags)
-
close
public static void close(BookKeeper bk, LedgerHandle lh)
-
-