Class ClusterInfoCommand
- 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.bookies.ClusterInfoCommand
-
public class ClusterInfoCommand extends BookieCommand<CliFlags>
A bookie command to retrieve bookies cluster info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterInfoCommand.ClusterInfo
POJO definition for the cluster info response.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description ClusterInfoCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, CliFlags cmdFlags)
ClusterInfoCommand.ClusterInfo
info()
static ClusterInfoCommand
newClusterInfoCommand()
-
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
-
newClusterInfoCommand
public static ClusterInfoCommand newClusterInfoCommand()
-
apply
public boolean apply(ServerConfiguration conf, CliFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<CliFlags>
-
info
public ClusterInfoCommand.ClusterInfo info()
-
-