Uses of Class
org.apache.bookkeeper.client.LedgerFragment
Packages that use LedgerFragment
Package
Description
BookKeeper Client.
Classes for replicating Bookkeeper data.
-
Uses of LedgerFragment in org.apache.bookkeeper.client
Methods in org.apache.bookkeeper.client that return LedgerFragmentModifier and TypeMethodDescriptionReturn a ledger fragment contains subset of bookies.Methods in org.apache.bookkeeper.client that return types with arguments of type LedgerFragmentModifier and TypeMethodDescription(package private) static Set<LedgerFragment>LedgerFragmentReplicator.splitIntoSubFragments(LedgerHandle lh, LedgerFragment ledgerFragment, long rereplicationEntryBatchSize) Split the full fragment into batched entry fragments by keeping rereplicationEntryBatchSize of entries in each one and can treat them as sub fragments.Methods in org.apache.bookkeeper.client with parameters of type LedgerFragmentModifier and TypeMethodDescription(package private) voidLedgerFragmentReplicator.replicate(LedgerHandle lh, LedgerFragment lf, org.apache.zookeeper.AsyncCallback.VoidCallback ledgerFragmentMcb, Set<BookieId> targetBookieAddresses, BiConsumer<Long, Long> onReadEntryFailureCallback) This method replicate a ledger fragment which is a contiguous portion of a ledger that was stored in an ensemble that included the failed bookie.voidBookKeeperAdmin.replicateLedgerFragment(LedgerHandle lh, LedgerFragment ledgerFragment, BiConsumer<Long, Long> onReadEntryFailureCallback) Replicate the Ledger fragment to target Bookie passed.(package private) static Set<LedgerFragment>LedgerFragmentReplicator.splitIntoSubFragments(LedgerHandle lh, LedgerFragment ledgerFragment, long rereplicationEntryBatchSize) Split the full fragment into batched entry fragments by keeping rereplicationEntryBatchSize of entries in each one and can treat them as sub fragments.Method parameters in org.apache.bookkeeper.client with type arguments of type LedgerFragmentModifier and TypeMethodDescriptionvoidLedgerChecker.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) Constructors in org.apache.bookkeeper.client with parameters of type LedgerFragment -
Uses of LedgerFragment in org.apache.bookkeeper.replication
Methods in org.apache.bookkeeper.replication that return types with arguments of type LedgerFragmentModifier and TypeMethodDescription(package private) Set<LedgerFragment>ReplicationWorker.getUnderreplicatedFragments(LedgerHandle lh, Long ledgerVerificationPercentage) Gets the under replicated fragments.