Uses of Class
org.apache.bookkeeper.mledger.ManagedLedgerConfig
Packages that use ManagedLedgerConfig
Package
Description
-
Uses of ManagedLedgerConfig in org.apache.bookkeeper.mledger
Methods in org.apache.bookkeeper.mledger that return ManagedLedgerConfigModifier and TypeMethodDescriptionManagedLedger.getConfig()Returns managed-ledger config.ManagedLedgerConfig.setAckQuorumSize(int ackQuorumSize) ManagedLedgerConfig.setAddEntryTimeoutSeconds(long addEntryTimeoutSeconds) Add-entry timeout after which add-entry callback will be failed if add-entry is not succeeded.Set clock to use for time operations.ManagedLedgerConfig.setCreateIfMissing(boolean createIfMissing) ManagedLedgerConfig.setDigestType(org.apache.bookkeeper.client.api.DigestType digestType) ManagedLedgerConfig.setEnsembleSize(int ensembleSize) ManagedLedgerConfig.setLazyCursorRecovery(boolean lazyCursorRecovery) Whether to recover cursors lazily when trying to recover a managed ledger backing a persistent topic.ManagedLedgerConfig.setLedgerOffloader(LedgerOffloader offloader) Set ledger offloader to use for offloading ledgers to longterm storage.ManagedLedgerConfig.setLedgerRolloverTimeout(int ledgerRolloverTimeout) ManagedLedgerConfig.setMaxEntriesPerLedger(int maxEntriesPerLedger) ManagedLedgerConfig.setMaxSizePerLedgerMb(int maxSizePerLedgerMb) ManagedLedgerConfig.setMaxUnackedRangesToPersist(int maxUnackedRangesToPersist) ManagedLedgerConfig.setMetadataAckQuorumSize(int metadataAckQuorumSize) ManagedLedgerConfig.setMetadataEnsembleSize(int metadataEnsembleSize) ManagedLedgerConfig.setMetadataMaxEntriesPerLedger(int metadataMaxEntriesPerLedger) ManagedLedgerConfig.setMetadataOperationsTimeoutSeconds(long metadataOperationsTimeoutSeconds) Ledger-Op (Create/Delete) timeout after which callback will be completed with failure.ManagedLedgerConfig.setMetadataWriteQuorumSize(int metadataWriteQuorumSize) ManagedLedgerConfig.setPassword(String password) ManagedLedgerConfig.setReadEntryTimeoutSeconds(long readEntryTimeoutSeconds) Ledger read entry timeout after which callback will be completed with failure.ManagedLedgerConfig.setRetentionSizeInMB(long retentionSizeInMB) The retention size is used to set a maximum retention size quota on the ManagedLedger.ManagedLedgerConfig.setRetentionTime(int retentionTime, TimeUnit unit) Set the retention time for the ManagedLedger.ManagedLedgerConfig.setThrottleMarkDelete(double throttleMarkDelete) Set the rate limiter on how many mark-delete calls per second are allowed.ManagedLedgerConfig.setUnackedRangesOpenCacheSetEnabled(boolean unackedRangesOpenCacheSetEnabled) ManagedLedgerConfig.setWriteQuorumSize(int writeQuorumSize) Methods in org.apache.bookkeeper.mledger with parameters of type ManagedLedgerConfigModifier and TypeMethodDescriptionvoidManagedLedgerFactory.asyncOpen(String name, ManagedLedgerConfig config, AsyncCallbacks.OpenLedgerCallback callback, Supplier<CompletableFuture<Boolean>> mlOwnershipChecker, Object ctx) Asynchronous open method.voidManagedLedgerFactory.asyncOpenReadOnlyCursor(String managedLedgerName, Position startPosition, ManagedLedgerConfig config, AsyncCallbacks.OpenReadOnlyCursorCallback callback, Object ctx) Open aReadOnlyCursorpositioned to the earliest entry for the specified managed ledger.voidManagedLedgerFactory.asyncOpenReadOnlyManagedLedger(String managedLedgerName, AsyncCallbacks.OpenReadOnlyManagedLedgerCallback callback, ManagedLedgerConfig config, Object ctx) Asynchronous open a Read-only managedLedger.ManagedLedgerFactory.open(String name, ManagedLedgerConfig config) Open a managed ledger.ManagedLedgerFactory.openReadOnlyCursor(String managedLedgerName, Position startPosition, ManagedLedgerConfig config) Open aReadOnlyCursorpositioned to the earliest entry for the specified managed ledger.voidManagedLedger.setConfig(ManagedLedgerConfig config) Updates managed-ledger config.Method parameters in org.apache.bookkeeper.mledger with type arguments of type ManagedLedgerConfigModifier and TypeMethodDescriptionvoidManagedLedgerFactory.asyncDelete(String name, CompletableFuture<ManagedLedgerConfig> mlConfigFuture, AsyncCallbacks.DeleteLedgerCallback callback, Object ctx) Delete a managed ledger.voidManagedLedgerFactory.delete(String name, CompletableFuture<ManagedLedgerConfig> mlConfigFuture) Delete a managed ledger. -
Uses of ManagedLedgerConfig in org.apache.bookkeeper.mledger.impl
Fields in org.apache.bookkeeper.mledger.impl declared as ManagedLedgerConfigModifier and TypeFieldDescriptionprotected final ManagedLedgerConfigManagedCursorImpl.configprotected ManagedLedgerConfigManagedLedgerImpl.configMethods in org.apache.bookkeeper.mledger.impl that return ManagedLedgerConfigMethods in org.apache.bookkeeper.mledger.impl with parameters of type ManagedLedgerConfigModifier and TypeMethodDescriptionprotected voidManagedLedgerImpl.asyncCreateLedger(BookKeeper bookKeeper, ManagedLedgerConfig config, BookKeeper.DigestType digestType, AsyncCallback.CreateCallback cb, Map<String, byte[]> metadata) Create ledger async and schedule a timeout task to check ledger-creation is complete else it fails the callback with TimeoutException.voidManagedLedgerFactoryImpl.asyncOpen(String name, ManagedLedgerConfig config, AsyncCallbacks.OpenLedgerCallback callback, Supplier<CompletableFuture<Boolean>> mlOwnershipChecker, Object ctx) voidManagedLedgerFactoryImpl.asyncOpenReadOnlyCursor(String managedLedgerName, Position startPosition, ManagedLedgerConfig config, AsyncCallbacks.OpenReadOnlyCursorCallback callback, Object ctx) voidManagedLedgerFactoryImpl.asyncOpenReadOnlyManagedLedger(String managedLedgerName, AsyncCallbacks.OpenReadOnlyManagedLedgerCallback callback, ManagedLedgerConfig config, Object ctx) ManagedLedgerFactoryImpl.open(String name, ManagedLedgerConfig config) ManagedLedgerFactoryImpl.openReadOnlyCursor(String managedLedgerName, Position startPosition, ManagedLedgerConfig config) voidManagedLedgerImpl.setConfig(ManagedLedgerConfig config) Method parameters in org.apache.bookkeeper.mledger.impl with type arguments of type ManagedLedgerConfigModifier and TypeMethodDescriptionvoidManagedLedgerFactoryImpl.asyncDelete(String name, CompletableFuture<ManagedLedgerConfig> mlConfigFuture, AsyncCallbacks.DeleteLedgerCallback callback, Object ctx) voidManagedLedgerFactoryImpl.delete(String name, CompletableFuture<ManagedLedgerConfig> mlConfigFuture) Constructors in org.apache.bookkeeper.mledger.impl with parameters of type ManagedLedgerConfigModifierConstructorDescriptionManagedLedgerImpl(ManagedLedgerFactoryImpl factory, BookKeeper bookKeeper, MetaStore store, ManagedLedgerConfig config, org.apache.bookkeeper.common.util.OrderedScheduler scheduledExecutor, String name) ManagedLedgerImpl(ManagedLedgerFactoryImpl factory, BookKeeper bookKeeper, MetaStore store, ManagedLedgerConfig config, org.apache.bookkeeper.common.util.OrderedScheduler scheduledExecutor, String name, Supplier<CompletableFuture<Boolean>> mlOwnershipChecker) ReadOnlyCursorImpl(BookKeeper bookkeeper, ManagedLedgerConfig config, ManagedLedgerImpl ledger, PositionImpl startPosition, String cursorName) ReadOnlyManagedLedgerImpl(ManagedLedgerFactoryImpl factory, BookKeeper bookKeeper, MetaStore store, ManagedLedgerConfig config, org.apache.bookkeeper.common.util.OrderedScheduler scheduledExecutor, String name) ShadowManagedLedgerImpl(ManagedLedgerFactoryImpl factory, BookKeeper bookKeeper, MetaStore store, ManagedLedgerConfig config, org.apache.bookkeeper.common.util.OrderedScheduler scheduledExecutor, String name, Supplier<CompletableFuture<Boolean>> mlOwnershipChecker) -
Uses of ManagedLedgerConfig in org.apache.bookkeeper.mledger.offload
Methods in org.apache.bookkeeper.mledger.offload with parameters of type ManagedLedgerConfigModifier and TypeMethodDescriptionstatic CompletableFuture<Void>OffloadUtils.cleanupOffloaded(long ledgerId, UUID uuid, ManagedLedgerConfig mlConfig, Map<String, String> offloadDriverMetadata, String cleanupReason, String name, org.apache.bookkeeper.common.util.OrderedScheduler executor)