Interface DeleteBuilder

All Superinterfaces:
OpBuilder<Void>
All Known Implementing Classes:
LedgerDeleteOp.DeleteBuilderImpl

@Public @Unstable public interface DeleteBuilder extends OpBuilder<Void>
Builder-style interface to delete exiting ledgers.
Since:
4.6
  • Method Summary

    Modifier and Type
    Method
    Description
    withLedgerId(long ledgerId)
    Set the id of the ledger to be deleted.

    Methods inherited from interface org.apache.bookkeeper.client.api.OpBuilder

    execute
  • Method Details

    • withLedgerId

      DeleteBuilder withLedgerId(long ledgerId)
      Set the id of the ledger to be deleted.
      Parameters:
      ledgerId -
      Returns:
      the builder itself