Uses of Interface
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.GenericCallback
-
Packages that use BookkeeperInternalCallbacks.GenericCallback Package Description org.apache.bookkeeper.client BookKeeper Client.org.apache.bookkeeper.meta Classes for interacting with bookkeeper ledgers and ledger metadata.org.apache.bookkeeper.proto Classes related to the Bookkeeper protocol.org.apache.bookkeeper.replication Classes for replicating Bookkeeper data.org.apache.bookkeeper.util Bookkeeper utilities. -
-
Uses of BookkeeperInternalCallbacks.GenericCallback in org.apache.bookkeeper.client
Methods in org.apache.bookkeeper.client with parameters of type BookkeeperInternalCallbacks.GenericCallback Modifier and Type Method Description voidBookKeeperAdmin. asyncGetLedgersContainBookies(java.util.Set<BookieId> bookies, BookkeeperInternalCallbacks.GenericCallback<java.util.SortedMap<java.lang.Long,LedgerMetadata>> callback)voidLedgerChecker. checkLedger(LedgerHandle lh, BookkeeperInternalCallbacks.GenericCallback<java.util.Set<LedgerFragment>> cb)Check that all the fragments in the passed in ledger, and report those which are missing.voidLedgerChecker. checkLedger(LedgerHandle lh, BookkeeperInternalCallbacks.GenericCallback<java.util.Set<LedgerFragment>> cb, long percentageOfLedgerFragmentToBeVerified)(package private) voidReadOnlyLedgerHandle. recover(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> finalCb)(package private) voidReadOnlyLedgerHandle. recover(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> finalCb, BookkeeperInternalCallbacks.ReadEntryListener listener, boolean forceRecovery)Recover the ledger. -
Uses of BookkeeperInternalCallbacks.GenericCallback in org.apache.bookkeeper.meta
Methods in org.apache.bookkeeper.meta with parameters of type BookkeeperInternalCallbacks.GenericCallback Modifier and Type Method Description voidLedgerIdGenerator. generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<java.lang.Long> cb)Generate a global unique ledger id.voidLongZkLedgerIdGenerator. generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<java.lang.Long> cb)voidNullMetadataBookieDriver.NullLedgerIdGenerator. generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<java.lang.Long> cb)voidZkLedgerIdGenerator. generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<java.lang.Long> cb)static voidZkLedgerIdGenerator. generateLedgerIdImpl(BookkeeperInternalCallbacks.GenericCallback<java.lang.Long> cb, org.apache.zookeeper.ZooKeeper zk, java.lang.String ledgerPrefix, java.util.List<org.apache.zookeeper.data.ACL> zkAcls)voidLedgerUnderreplicationManager. notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)Receive notification asynchronously when the ledger replication process is enabled.voidNullMetadataBookieDriver.NullLedgerUnderreplicationManager. notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)voidZkLedgerUnderreplicationManager. notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)voidLedgerUnderreplicationManager. notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)Receive notification asynchronously when the lostBookieRecoveryDelay value is Changed.voidNullMetadataBookieDriver.NullLedgerUnderreplicationManager. notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)voidZkLedgerUnderreplicationManager. notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)default voidLedgerUnderreplicationManager. notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)Deprecated.voidNullMetadataBookieDriver.NullLedgerUnderreplicationManager. notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb)voidZkLedgerUnderreplicationManager. notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb) -
Uses of BookkeeperInternalCallbacks.GenericCallback in org.apache.bookkeeper.proto
Classes in org.apache.bookkeeper.proto that implement BookkeeperInternalCallbacks.GenericCallback Modifier and Type Class Description (package private) static classBookieClientImpl.ChannelReadyForAddEntryCallbackstatic classBookkeeperInternalCallbacks.GenericCallbackFuture<T>Generic callback future.static classBookkeeperInternalCallbacks.TimedGenericCallback<T>A callback implementation with an internal timer.(package private) classDefaultPerChannelBookieClientPoolProvide a simple round-robin style channel pool.Fields in org.apache.bookkeeper.proto declared as BookkeeperInternalCallbacks.GenericCallback Modifier and Type Field Description (package private) BookkeeperInternalCallbacks.GenericCallback<T>BookkeeperInternalCallbacks.TimedGenericCallback. cbMethods in org.apache.bookkeeper.proto with parameters of type BookkeeperInternalCallbacks.GenericCallback Modifier and Type Method Description (package private) voidPerChannelBookieClient. connectIfNeededAndDoOp(BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient> op)voidDefaultPerChannelBookieClientPool. obtain(BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient> callback, long key)voidDefaultPerChannelBookieClientPool. obtain(BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient> callback, long key, boolean forceUseV3)voidPerChannelBookieClientPool. obtain(BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient> callback, long key)Obtain a channel from channel pool to execute operations.voidPerChannelBookieClientPool. obtain(BookkeeperInternalCallbacks.GenericCallback<PerChannelBookieClient> callback, long key, boolean forceUseV3)Obtain a channel from channel pool by version to execute operations.Constructors in org.apache.bookkeeper.proto with parameters of type BookkeeperInternalCallbacks.GenericCallback Constructor Description TimedGenericCallback(BookkeeperInternalCallbacks.GenericCallback<T> cb, int successRc, OpStatsLogger statsLogger) -
Uses of BookkeeperInternalCallbacks.GenericCallback in org.apache.bookkeeper.replication
Classes in org.apache.bookkeeper.replication that implement BookkeeperInternalCallbacks.GenericCallback Modifier and Type Class Description classReplicationEnableCbCallback which is getting notified when the replication process is enabled. -
Uses of BookkeeperInternalCallbacks.GenericCallback in org.apache.bookkeeper.util
Classes in org.apache.bookkeeper.util that implement BookkeeperInternalCallbacks.GenericCallback Modifier and Type Class Description classOrderedGenericCallback<T>Generic callback implementation which will run the callback in the thread which matches the ordering key.Methods in org.apache.bookkeeper.util with parameters of type BookkeeperInternalCallbacks.GenericCallback Modifier and Type Method Description static voidZkUtils. getChildrenInSingleNode(org.apache.zookeeper.ZooKeeper zk, java.lang.String node, BookkeeperInternalCallbacks.GenericCallback<java.util.List<java.lang.String>> cb)Async get direct children under single node.
-