Package org.apache.bookkeeper.bookie
Class LastAddConfirmedUpdateNotification
java.lang.Object
org.apache.bookkeeper.bookie.LastAddConfirmedUpdateNotification
- All Implemented Interfaces:
Recyclable
A signal object is used for notifying the observers when the
LastAddConfirmed is advanced.
The signal object contains the latest LastAddConfirmed and when the LastAddConfirmed is advanced.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLastAddConfirmedUpdateNotification(io.netty.util.Recycler.Handle<LastAddConfirmedUpdateNotification> handle) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.util.Recycler.Handle<LastAddConfirmedUpdateNotification>longlongof(long lastAddConfirmed) voidrecycle()Recycle the instance.
-
Field Details
-
FUNC
-
WATCHER_RECYCLER
public static final RecyclableArrayList.Recycler<Watcher<LastAddConfirmedUpdateNotification>> WATCHER_RECYCLER
-
-
Constructor Details
-
LastAddConfirmedUpdateNotification
public LastAddConfirmedUpdateNotification(io.netty.util.Recycler.Handle<LastAddConfirmedUpdateNotification> handle)
-
-
Method Details
-
of
-
recycle
public void recycle()Description copied from interface:RecyclableRecycle the instance.- Specified by:
recyclein interfaceRecyclable
-
getHandle
-
getLastAddConfirmed
public long getLastAddConfirmed() -
getTimestamp
public long getTimestamp()
-