Uses of Interface
org.apache.bookkeeper.common.util.Watcher
-
Packages that use Watcher Package Description org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.bookie.storage.ldb Classes related to DB based ledger storage.org.apache.bookkeeper.common.util defines the utilities for allocator used across the project.org.apache.bookkeeper.proto Classes related to the Bookkeeper protocol. -
-
Uses of Watcher in org.apache.bookkeeper.bookie
Fields in org.apache.bookkeeper.bookie with type parameters of type Watcher Modifier and Type Field Description static RecyclableArrayList.Recycler<Watcher<LastAddConfirmedUpdateNotification>>
LastAddConfirmedUpdateNotification. WATCHER_RECYCLER
-
Uses of Watcher in org.apache.bookkeeper.bookie.storage.ldb
Methods in org.apache.bookkeeper.bookie.storage.ldb with parameters of type Watcher Modifier and Type Method Description void
DbLedgerStorage. cancelWaitForLastAddConfirmedUpdate(long ledgerId, Watcher<LastAddConfirmedUpdateNotification> watcher)
void
SingleDirectoryDbLedgerStorage. cancelWaitForLastAddConfirmedUpdate(long ledgerId, Watcher<LastAddConfirmedUpdateNotification> watcher)
(package private) void
TransientLedgerInfo. cancelWaitForLastAddConfirmedUpdate(Watcher<LastAddConfirmedUpdateNotification> watcher)
boolean
DbLedgerStorage. waitForLastAddConfirmedUpdate(long ledgerId, long previousLAC, Watcher<LastAddConfirmedUpdateNotification> watcher)
boolean
SingleDirectoryDbLedgerStorage. waitForLastAddConfirmedUpdate(long ledgerId, long previousLAC, Watcher<LastAddConfirmedUpdateNotification> watcher)
(package private) boolean
TransientLedgerInfo. waitForLastAddConfirmedUpdate(long previousLAC, Watcher<LastAddConfirmedUpdateNotification> watcher)
-
Uses of Watcher in org.apache.bookkeeper.common.util
Methods in org.apache.bookkeeper.common.util with parameters of type Watcher Modifier and Type Method Description boolean
Watchable. addWatcher(Watcher<T> w)
Adds an watcher to the set of watchers for this object, provided that it is not the same as some watcher already in the set.boolean
Watchable. deleteWatcher(Watcher<T> w)
Deletes an watcher from the set of watcher of this object.Constructor parameters in org.apache.bookkeeper.common.util with type arguments of type Watcher Constructor Description Watchable(RecyclableArrayList.Recycler<Watcher<T>> recycler)
Construct an Watchable with zero watchers. -
Uses of Watcher in org.apache.bookkeeper.proto
Classes in org.apache.bookkeeper.proto that implement Watcher Modifier and Type Class Description (package private) class
LongPollReadEntryProcessorV3
Processor handling long poll read entry request.
-