Package org.apache.bookkeeper.client
Class LedgerDeleteOp
- java.lang.Object
-
- org.apache.bookkeeper.client.LedgerDeleteOp
-
class LedgerDeleteOp extends java.lang.Object
Encapsulates asynchronous ledger delete operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
LedgerDeleteOp.DeleteBuilderImpl
-
Field Summary
Fields Modifier and Type Field Description (package private) BookKeeper
bk
(package private) AsyncCallback.DeleteCallback
cb
(package private) java.lang.Object
ctx
(package private) OpStatsLogger
deleteOpLogger
(package private) long
ledgerId
(package private) static org.slf4j.Logger
LOG
(package private) long
startTime
-
Constructor Summary
Constructors Constructor Description LedgerDeleteOp(BookKeeper bk, BookKeeperClientStats clientStats, long ledgerId, AsyncCallback.DeleteCallback cb, java.lang.Object ctx)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initiate()
Initiates the operation.java.lang.String
toString()
-
-
-
Field Detail
-
LOG
static final org.slf4j.Logger LOG
-
bk
final BookKeeper bk
-
ledgerId
final long ledgerId
-
cb
final AsyncCallback.DeleteCallback cb
-
ctx
final java.lang.Object ctx
-
startTime
final long startTime
-
deleteOpLogger
final OpStatsLogger deleteOpLogger
-
-
Constructor Detail
-
LedgerDeleteOp
LedgerDeleteOp(BookKeeper bk, BookKeeperClientStats clientStats, long ledgerId, AsyncCallback.DeleteCallback cb, java.lang.Object ctx)
Constructor.- Parameters:
bk
- BookKeeper objectledgerId
- ledger Idcb
- callback implementationctx
- optional control object
-
-