Class RecoverCommand.RecoverFlags
- java.lang.Object
-
- org.apache.bookkeeper.tools.framework.CliFlags
-
- org.apache.bookkeeper.tools.cli.commands.bookies.RecoverCommand.RecoverFlags
-
- Enclosing class:
- RecoverCommand
public static class RecoverCommand.RecoverFlags extends CliFlags
Flags for recover command.
-
-
Constructor Summary
Constructors Constructor Description RecoverFlags()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecoverCommand.RecoverFlags
bookieAddress(java.lang.String bookieAddress)
RecoverCommand.RecoverFlags
deleteCookie(boolean deleteCookie)
RecoverCommand.RecoverFlags
dryRun(boolean dryRun)
RecoverCommand.RecoverFlags
force(boolean force)
RecoverCommand.RecoverFlags
ledger(long ledger)
RecoverCommand.RecoverFlags
query(boolean query)
RecoverCommand.RecoverFlags
replicateRate(int replicateRate)
RecoverCommand.RecoverFlags
skipOpenLedgers(boolean skipOpenLedgers)
RecoverCommand.RecoverFlags
skipUnrecoverableLedgers(boolean skipUnrecoverableLedgers)
-
-
-
Method Detail
-
ledger
public RecoverCommand.RecoverFlags ledger(long ledger)
- Returns:
this
.
-
force
public RecoverCommand.RecoverFlags force(boolean force)
- Returns:
this
.
-
query
public RecoverCommand.RecoverFlags query(boolean query)
- Returns:
this
.
-
dryRun
public RecoverCommand.RecoverFlags dryRun(boolean dryRun)
- Returns:
this
.
-
skipOpenLedgers
public RecoverCommand.RecoverFlags skipOpenLedgers(boolean skipOpenLedgers)
- Returns:
this
.
-
deleteCookie
public RecoverCommand.RecoverFlags deleteCookie(boolean deleteCookie)
- Returns:
this
.
-
bookieAddress
public RecoverCommand.RecoverFlags bookieAddress(java.lang.String bookieAddress)
- Returns:
this
.
-
skipUnrecoverableLedgers
public RecoverCommand.RecoverFlags skipUnrecoverableLedgers(boolean skipUnrecoverableLedgers)
- Returns:
this
.
-
replicateRate
public RecoverCommand.RecoverFlags replicateRate(int replicateRate)
- Returns:
this
.
-
-