Package org.apache.bookkeeper.bookie
Class Journal.QueueEntry
- java.lang.Object
-
- org.apache.bookkeeper.bookie.Journal.QueueEntry
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- Journal
static class Journal.QueueEntry extends java.lang.Object implements java.lang.Runnable
Journal Entry to Record.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
ackBeforeSync
(package private) Counter
callbackTime
(package private) BookkeeperInternalCallbacks.WriteCallback
cb
(package private) java.lang.Object
ctx
(package private) long
enqueueTime
(package private) io.netty.buffer.ByteBuf
entry
(package private) long
entryId
(package private) OpStatsLogger
journalAddEntryStats
(package private) long
ledgerId
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Journal.QueueEntry
create(io.netty.buffer.ByteBuf entry, boolean ackBeforeSync, long ledgerId, long entryId, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, long enqueueTime, OpStatsLogger journalAddEntryStats, Counter callbackTime)
void
run()
-
-
-
Field Detail
-
entry
io.netty.buffer.ByteBuf entry
-
ledgerId
long ledgerId
-
entryId
long entryId
-
ctx
java.lang.Object ctx
-
enqueueTime
long enqueueTime
-
ackBeforeSync
boolean ackBeforeSync
-
journalAddEntryStats
OpStatsLogger journalAddEntryStats
-
callbackTime
Counter callbackTime
-
-
Method Detail
-
create
static Journal.QueueEntry create(io.netty.buffer.ByteBuf entry, boolean ackBeforeSync, long ledgerId, long entryId, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, long enqueueTime, OpStatsLogger journalAddEntryStats, Counter callbackTime)
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-