Package org.apache.bookkeeper.bookie
Class BookieShell.ListActiveLedgersCmd
- java.lang.Object
-
- org.apache.bookkeeper.bookie.BookieShell.MyCommand
-
- org.apache.bookkeeper.bookie.BookieShell.ListActiveLedgersCmd
-
- All Implemented Interfaces:
BookieShell.Command
- Enclosing class:
- BookieShell
class BookieShell.ListActiveLedgersCmd extends BookieShell.MyCommand
List active ledgers on entry log file.
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.bookie.BookieShell.MyCommand
cmdName, opts
-
-
Constructor Summary
Constructors Constructor Description ListActiveLedgersCmd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
getDescription()
(package private) org.apache.commons.cli.Options
getOptions()
(package private) java.lang.String
getUsage()
int
runCmd(org.apache.commons.cli.CommandLine cmdLine)
-
Methods inherited from class org.apache.bookkeeper.bookie.BookieShell.MyCommand
description, printUsage, runCmd
-
-
-
-
Method Detail
-
runCmd
public int runCmd(org.apache.commons.cli.CommandLine cmdLine) throws java.lang.Exception
- Specified by:
runCmd
in classBookieShell.MyCommand
- Throws:
java.lang.Exception
-
getDescription
java.lang.String getDescription()
- Specified by:
getDescription
in classBookieShell.MyCommand
-
getUsage
java.lang.String getUsage()
- Specified by:
getUsage
in classBookieShell.MyCommand
-
getOptions
org.apache.commons.cli.Options getOptions()
- Specified by:
getOptions
in classBookieShell.MyCommand
-
-