Uses of Interface
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.GenericCallback
Packages that use BookkeeperInternalCallbacks.GenericCallback
Package
Description
BookKeeper Client.
Classes for interacting with bookkeeper ledgers and ledger metadata.
Classes related to the Bookkeeper protocol.
Classes for replicating Bookkeeper data.
Bookkeeper utilities.
-
Uses of BookkeeperInternalCallbacks.GenericCallback in org.apache.bookkeeper.client
Methods in org.apache.bookkeeper.client with parameters of type BookkeeperInternalCallbacks.GenericCallbackModifier and TypeMethodDescriptionvoidBookKeeperAdmin.asyncGetLedgersContainBookies(Set<BookieId> bookies, BookkeeperInternalCallbacks.GenericCallback<SortedMap<Long, LedgerMetadata>> callback) voidLedgerChecker.checkLedger(LedgerHandle lh, BookkeeperInternalCallbacks.GenericCallback<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<Set<LedgerFragment>> cb, long percentageOfLedgerFragmentToBeVerified) (package private) voidReadOnlyLedgerHandle.recover(BookkeeperInternalCallbacks.GenericCallback<Void> finalCb) (package private) voidReadOnlyLedgerHandle.recover(BookkeeperInternalCallbacks.GenericCallback<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.GenericCallbackModifier and TypeMethodDescriptionvoidLedgerIdGenerator.generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<Long> cb) Generate a global unique ledger id.voidLongZkLedgerIdGenerator.generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<Long> cb) voidNullMetadataBookieDriver.NullLedgerIdGenerator.generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<Long> cb) voidZkLedgerIdGenerator.generateLedgerId(BookkeeperInternalCallbacks.GenericCallback<Long> cb) static voidZkLedgerIdGenerator.generateLedgerIdImpl(BookkeeperInternalCallbacks.GenericCallback<Long> cb, org.apache.zookeeper.ZooKeeper zk, String ledgerPrefix, List<org.apache.zookeeper.data.ACL> zkAcls) voidLedgerUnderreplicationManager.notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<Void> cb) Receive notification asynchronously when the ledger replication process is enabled.voidNullMetadataBookieDriver.NullLedgerUnderreplicationManager.notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<Void> cb) voidZkLedgerUnderreplicationManager.notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<Void> cb) voidLedgerUnderreplicationManager.notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<Void> cb) Receive notification asynchronously when the lostBookieRecoveryDelay value is Changed.voidNullMetadataBookieDriver.NullLedgerUnderreplicationManager.notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<Void> cb) voidZkLedgerUnderreplicationManager.notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<Void> cb) default voidLedgerUnderreplicationManager.notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<Void> cb) Deprecated.voidNullMetadataBookieDriver.NullLedgerUnderreplicationManager.notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<Void> cb) voidZkLedgerUnderreplicationManager.notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<Void> cb) -
Uses of BookkeeperInternalCallbacks.GenericCallback in org.apache.bookkeeper.proto
Classes in org.apache.bookkeeper.proto that implement BookkeeperInternalCallbacks.GenericCallbackModifier and TypeClassDescription(package private) static classstatic classGeneric callback future.static classA callback implementation with an internal timer.(package private) classProvide a simple round-robin style channel pool.Fields in org.apache.bookkeeper.proto declared as BookkeeperInternalCallbacks.GenericCallbackModifier and TypeFieldDescription(package private) final BookkeeperInternalCallbacks.GenericCallback<T>BookkeeperInternalCallbacks.TimedGenericCallback.cbMethods in org.apache.bookkeeper.proto with parameters of type BookkeeperInternalCallbacks.GenericCallbackModifier and TypeMethodDescription(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.GenericCallbackModifierConstructorDescriptionTimedGenericCallback(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.GenericCallbackModifier and TypeClassDescriptionclassCallback 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.GenericCallbackModifier and TypeClassDescriptionclassGeneric 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.GenericCallbackModifier and TypeMethodDescriptionstatic voidZkUtils.getChildrenInSingleNode(org.apache.zookeeper.ZooKeeper zk, String node, BookkeeperInternalCallbacks.GenericCallback<List<String>> cb) Async get direct children under single node.