Uses of Class
org.apache.bookkeeper.conf.ClientConfiguration
Packages that use ClientConfiguration
Package
Description
Classes used to handle authentication in bookies and clients.
Provides a Bookie server that stores entries for clients.
BookKeeper Client.
BookKeeper Client Public API.
BookKeeper Client implementation package.
Configurations used by bookkeeper.
Classes for interacting with bookkeeper ledgers and ledger metadata.
ZooKeeper based metadata implementation.
Classes related to the Bookkeeper protocol.
SASL and JAAS Authentication classes.
This classes provides some helper mixins for easily to add commands
to bookie shell.
Bookkeeper utilities.
-
Uses of ClientConfiguration in org.apache.bookkeeper.auth
Methods in org.apache.bookkeeper.auth with parameters of type ClientConfigurationModifier and TypeMethodDescriptionvoidClientAuthProvider.Factory.init(ClientConfiguration conf) Initialize the factory with the client configuration and protobuf message registry.static ClientAuthProvider.FactoryAuthProviderFactoryFactory.newClientAuthProviderFactory(ClientConfiguration conf) -
Uses of ClientConfiguration in org.apache.bookkeeper.bookie
Methods in org.apache.bookkeeper.bookie with parameters of type ClientConfigurationModifier and TypeMethodDescriptionLocalBookieEnsemblePlacementPolicy.initialize(ClientConfiguration conf, Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer hashedWheelTimer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) -
Uses of ClientConfiguration in org.apache.bookkeeper.client
Fields in org.apache.bookkeeper.client declared as ClientConfigurationModifier and TypeFieldDescription(package private) final ClientConfigurationBookKeeper.Builder.conf(package private) final ClientConfigurationBookKeeper.confMethods in org.apache.bookkeeper.client that return ClientConfigurationModifier and TypeMethodDescriptionprotected ClientConfigurationBookKeeper.getConf()BookKeeperAdmin.getConf()Methods in org.apache.bookkeeper.client with parameters of type ClientConfigurationModifier and TypeMethodDescriptionstatic BookKeeper.BuilderBookKeeper.forConfig(ClientConfiguration conf) (package private) static ClientInternalConfClientInternalConf.fromConfig(ClientConfiguration conf) (package private) static ClientInternalConfClientInternalConf.fromConfigAndFeatureProvider(ClientConfiguration conf, FeatureProvider featureProvider) DefaultEnsemblePlacementPolicy.initialize(ClientConfiguration conf, Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer hashedWheelTimer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) EnsemblePlacementPolicy.initialize(ClientConfiguration conf, Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer hashedWheelTimer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) Initialize the policy.RackawareEnsemblePlacementPolicyImpl.initialize(ClientConfiguration conf, Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) RegionAwareEnsemblePlacementPolicy.initialize(ClientConfiguration conf, Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) ZoneawareEnsemblePlacementPolicy.initialize(ClientConfiguration conf, Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) ZoneawareEnsemblePlacementPolicyImpl.initialize(ClientConfiguration conf, Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) protected EnsemblePlacementPolicyBookKeeper.initializeEnsemblePlacementPolicy(ClientConfiguration conf, DNSToSwitchMapping dnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) static BookKeeperAdminBookKeeperAdmin.newBookKeeperAdmin(ClientConfiguration conf) (package private) voidBookKeeper.scheduleBookieHealthCheckIfEnabled(ClientConfiguration conf) Constructors in org.apache.bookkeeper.client with parameters of type ClientConfigurationModifierConstructorDescription(package private)BookieInfoReader(BookKeeper bk, ClientConfiguration conf, ScheduledExecutorService scheduler) BookieWatcherImpl(ClientConfiguration conf, EnsemblePlacementPolicy placementPolicy, RegistrationClient registrationClient, BookieAddressResolver bookieAddressResolver, StatsLogger statsLogger) Create a bookkeeper client using a configuration object.BookKeeper(ClientConfiguration conf, org.apache.zookeeper.ZooKeeper zk) Create a bookkeeper client but use the passed in zookeeper client instead of instantiating one.BookKeeper(ClientConfiguration conf, org.apache.zookeeper.ZooKeeper zk, io.netty.channel.EventLoopGroup eventLoopGroup) Create a bookkeeper client but use the passed in zookeeper client and client event loop group instead of instantiating those.(package private)BookKeeper(ClientConfiguration conf, org.apache.zookeeper.ZooKeeper zkc, io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.buffer.ByteBufAllocator byteBufAllocator, StatsLogger rootStatsLogger, DNSToSwitchMapping dnsResolver, io.netty.util.HashedWheelTimer requestTimer, FeatureProvider featureProvider) Constructor for use with the builder.BookKeeperAdmin(BookKeeper bkc, ClientConfiguration conf) BookKeeperAdmin(BookKeeper bkc, StatsLogger statsLogger, ClientConfiguration conf) Constructor that takes in a BookKeeper instance .Constructor that takes in a configuration object so we know how to connect to ZooKeeper to retrieve information about the BookKeeper cluster.(package private)Builder(ClientConfiguration conf) LedgerFragmentReplicator(BookKeeper bkc, StatsLogger statsLogger, ClientConfiguration conf) -
Uses of ClientConfiguration in org.apache.bookkeeper.client.api
Methods in org.apache.bookkeeper.client.api with parameters of type ClientConfigurationModifier and TypeMethodDescriptionstatic BookKeeperBuilderBookKeeper.newBuilder(ClientConfiguration clientConfiguration) Create a new builder which can be used to boot a new BookKeeper client. -
Uses of ClientConfiguration in org.apache.bookkeeper.client.impl
Constructors in org.apache.bookkeeper.client.impl with parameters of type ClientConfiguration -
Uses of ClientConfiguration in org.apache.bookkeeper.conf
Methods in org.apache.bookkeeper.conf that return ClientConfigurationModifier and TypeMethodDescriptionClientConfiguration.enableBookieHealthCheck()Enables the bookie health check.protected ClientConfigurationClientConfiguration.getThis()ClientConfiguration.setAddEntryQuorumTimeout(int timeout) Set timeout for top-level add entry request.ClientConfiguration.setAddEntryTimeout(int timeout) Set timeout for add entry request.ClientConfiguration.setBatchReadEnabled(boolean enable) ClientConfiguration.setBookieAddressResolverEnabled(boolean enabled) Enable/Disable BookieAddressResolver.ClientConfiguration.setBookieErrorThresholdPerInterval(long thresholdPerInterval) Set the error threshold per interval (getBookieHealthCheckIntervalSeconds()) for a bookie before it is quarantined.ClientConfiguration.setBookieFailureHistoryExpirationMSec(int expirationMSec) Set the bookie failure tracking expiration timeout.ClientConfiguration.setBookieHealthCheckInterval(int interval, TimeUnit unit) Set the bookie health check interval.ClientConfiguration.setBookieMaxWeightMultipleForWeightBasedPlacement(int multiple) Set the max multiple to use for nodes with very high weight.ClientConfiguration.setBookieQuarantineRatio(double ratio) set the bookie quarantine ratio.ClientConfiguration.setBookieQuarantineTime(int quarantineTime, TimeUnit unit) Set the time for which a bookie will be quarantined.ClientConfiguration.setBookieRecoveryDigestType(BookKeeper.DigestType digestType) Set digest type used in bookkeeper admin.ClientConfiguration.setBookieRecoveryPasswd(byte[] passwd) Set passwd used in bookkeeper admin.ClientConfiguration.setClientConnectBookieUnavailableLogThrottling(int throttleValue, TimeUnit unit) Set the log frequency when a bookie is unavailable, in order to limit log filesize.ClientConfiguration.setClientConnectTimeoutMillis(int connectTimeoutMillis) Set client netty connect timeout in millis.ClientConfiguration.setClientReceiveBufferSize(int bufferSize) Set client netty channel receive buffer size.ClientConfiguration.setClientRole(String role) Set the client role.ClientConfiguration.setClientSendBufferSize(int bufferSize) Set client netty channel send buffer size.ClientConfiguration.setClientSockKeepalive(boolean keepalive) Set socket keepalive setting.ClientConfiguration.setClientTcpNoDelay(boolean noDelay) Set socket nodelay setting.ClientConfiguration.setClientWriteBufferHighWaterMark(int waterMark) Set client netty channel write buffer high water mark.ClientConfiguration.setClientWriteBufferLowWaterMark(int waterMark) Set client netty channel write buffer low water mark.ClientConfiguration.setDelayEnsembleChange(boolean enabled) Enable/Disable delaying ensemble change.ClientConfiguration.setDisableEnsembleChangeFeatureName(String disableEnsembleChangeFeatureName) Set the name of the dynamic feature that disables ensemble change.ClientConfiguration.setDiskWeightBasedPlacementEnabled(boolean isEnabled) Set whether or not disk weight based placement is enabled.ClientConfiguration.setEnableBookieAddressTracking(boolean value) Enable/Disable bookie address changes tracking.ClientConfiguration.setEnableBookieFailureTracking(boolean enabled) Enable/Disable bookie failure tracking.ClientConfiguration.setEnableDigestTypeAutodetection(boolean enable) Enable autodetection of digest type.ClientConfiguration.setEnableParallelRecoveryRead(boolean enabled) Enable/Disable parallel reading in recovery read.ClientConfiguration.setEnableTaskExecutionStats(boolean enabled) Enable/Disable recording task execution stats.ClientConfiguration.setEnsemblePlacementPolicy(Class<? extends EnsemblePlacementPolicy> policyClass) Set Ensemble Placement Policy Class.ClientConfiguration.setExplictLacInterval(int interval) Set the interval to check the need for sending an explicit LAC.ClientConfiguration.setFirstSpeculativeReadLACTimeout(int timeout) Set the period of time after which the first speculative read last add confirmed and entry should be triggered.ClientConfiguration.setFirstSpeculativeReadTimeout(int timeout) Set the first speculative read timeout.ClientConfiguration.setGetBookieInfoIntervalSeconds(int pollInterval, TimeUnit unit) Set the time interval between successive polls for bookie get info.ClientConfiguration.setGetBookieInfoRetryIntervalSeconds(int interval, TimeUnit unit) Set the time interval between retries on unsuccessful GetInfo requests.ClientConfiguration.setGetBookieInfoTimeout(int timeoutSecs) Set the timeout value in secs for the GET_BOOKIE_INFO request.ClientConfiguration.setHostnameVerificationEnabled(boolean enabled) Enable/Disable hostname verification for tls connection.ClientConfiguration.setMaxAllowedEnsembleChanges(int num) Set the max allowed ensemble change number.ClientConfiguration.setMaxSpeculativeReadLACTimeout(int timeout) Set the maximum interval between successive speculative read last add confirmed and entry requests.ClientConfiguration.setMaxSpeculativeReadTimeout(int timeout) Set the max speculative read timeout.ClientConfiguration.setNettyMaxFrameSizeBytes(int maxSize) Set the max number of bytes a single message can be that is read by the bookie.ClientConfiguration.setNettyUsePooledBuffers(boolean enabled) Deprecated.ClientConfiguration.setNetworkTopologyStabilizePeriodSeconds(int seconds) Set the network topology stabilize period in seconds.ClientConfiguration.setNumChannelsPerBookie(int numChannelsPerBookie) Set num channels per bookie.ClientConfiguration.setNumIOThreads(int numThreads) Set the number of IO threads.ClientConfiguration.setNumWorkerThreads(int numThreads) Set the number of worker threads.ClientConfiguration.setOpportunisticStriping(boolean enabled) Enable/Disable opportunistic striping.ClientConfiguration.setPCBCTimeoutTimerNumTicks(int numTicks) Deprecated.ClientConfiguration.setPCBCTimeoutTimerTickDurationMs(long tickDuration) Deprecated.ClientConfiguration.setReadEntryTimeout(int timeout) Set the timeout for read entry request.ClientConfiguration.setReadTimeout(int timeout) Deprecated.usesetReadEntryTimeout(int)orsetAddEntryTimeout(int)insteadClientConfiguration.setRecoveryBatchReadEnabled(boolean enabled) Enable/disable recovery batch read.ClientConfiguration.setRecoveryReadBatchSize(int batchSize) Set Recovery Read Batch Size.ClientConfiguration.setRegistrationClientClass(Class<? extends RegistrationClient> regClientClass) Deprecated.since 4.7.0ClientConfiguration.setReorderReadSequenceEnabled(boolean enabled) Enable/disable reordering read sequence on reading entries.ClientConfiguration.setReorderThresholdPendingRequests(int threshold) Set the threshold for the number of pending requests beyond which to reorder reads.ClientConfiguration.setSpeculativeReadLACTimeoutBackoffMultiplier(float speculativeReadLACTimeoutBackoffMultiplier) Set the multiplier to use when determining time between successive speculative read LAC requests.ClientConfiguration.setSpeculativeReadTimeout(int timeout) Set the speculative read timeout.ClientConfiguration.setSpeculativeReadTimeoutBackoffMultiplier(float speculativeReadTimeoutBackoffMultiplier) Set the multiplier to use when determining time between successive speculative read requests.ClientConfiguration.setStartTLSTimeout(int timeoutSecs) Set the timeout value in secs for the START_TLS request.ClientConfiguration.setStickyReadsEnabled(boolean enabled) Enable/disable having read operations for a ledger to be sticky to a single bookie.ClientConfiguration.setStoreSystemtimeAsLedgerCreationTime(boolean enabled) Enable the client to use system time as the ledger creation time.ClientConfiguration.setTaskExecutionWarnTimeMicros(long warnTime) Set task execution duration which triggers a warning.ClientConfiguration.setTcpKeepCnt(int keepCnt) Set TCP_KEEPCNT value for SO_KEEPALIVE.ClientConfiguration.setTcpKeepIdle(int keepIdle) Set TCP_KEEPIDLE value for SO_KEEPALIVE.ClientConfiguration.setTcpKeepIntvl(int keepIntvl) Set TCP_KEEPINTVL value for SO_KEEPALIVE.ClientConfiguration.setTcpUserTimeoutMillis(int tcpUserTimeoutMillis) Set client netty TCP user timeout in millis (only for Epoll channels).ClientConfiguration.setThrottleValue(int throttle) Set throttle value.ClientConfiguration.setTimeoutMonitorIntervalSec(long timeoutInterval) Set the interval between successive executions of the operation timeout monitor.ClientConfiguration.setTimeoutTaskIntervalMillis(long timeoutMillis) Deprecated.ClientConfiguration.setTimeoutTimerNumTicks(int numTicks) Set number of ticks that used for timeout timer.ClientConfiguration.setTimeoutTimerTickDurationMs(long tickDuration) Set the tick duration in milliseconds that used for timeout timer.ClientConfiguration.setTLSCertificatePath(String arg) Set the path to file containing TLS Certificate.ClientConfiguration.setTLSKeyStore(String arg) Set the keystore path for the client.ClientConfiguration.setTLSKeyStorePasswordPath(String arg) Set the path to file containing keystore password, if the client keystore is password protected.ClientConfiguration.setTLSKeyStoreType(String arg) Set the keystore type for client.ClientConfiguration.setTLSTrustStore(String arg) Set the truststore path for the client.ClientConfiguration.setTLSTrustStorePasswordPath(String arg) Set the path to file containing truststore password, if the client truststore is password protected.ClientConfiguration.setTLSTrustStoreType(String arg) Set the truststore type for client.ClientConfiguration.setUseV2WireProtocol(boolean useV2WireProtocol) Set whether or not to use older Bookkeeper wire protocol (no protobuf).ClientConfiguration.setWaitTimeoutOnBackpressureMillis(long value) Timeout controlling wait on request send in case of unresponsive bookie(s) (i.e. -
Uses of ClientConfiguration in org.apache.bookkeeper.meta
Methods in org.apache.bookkeeper.meta with parameters of type ClientConfigurationModifier and TypeMethodDescriptionMetadataClientDriver.initialize(ClientConfiguration conf, ScheduledExecutorService scheduler, StatsLogger statsLogger, Optional<Object> ctx) Initialize the metadata driver.static <T> TMetadataDrivers.runFunctionWithMetadataClientDriver(ClientConfiguration conf, Function<MetadataClientDriver, T> function, ScheduledExecutorService executorService) Process the provided function with metadata client driver resolved from the metadata service uri returned byAbstractConfiguration.getMetadataServiceUri(). -
Uses of ClientConfiguration in org.apache.bookkeeper.meta.zk
Fields in org.apache.bookkeeper.meta.zk declared as ClientConfigurationModifier and TypeFieldDescription(package private) ClientConfigurationZKMetadataClientDriver.clientConfMethods in org.apache.bookkeeper.meta.zk with parameters of type ClientConfigurationModifier and TypeMethodDescriptionZKMetadataClientDriver.initialize(ClientConfiguration conf, ScheduledExecutorService scheduler, StatsLogger statsLogger, Optional<Object> optionalCtx) -
Uses of ClientConfiguration in org.apache.bookkeeper.proto
Fields in org.apache.bookkeeper.proto declared as ClientConfigurationModifier and TypeFieldDescription(package private) final ClientConfigurationDefaultPerChannelBookieClientPool.confprotected final ClientConfigurationPerChannelBookieClient.confConstructors in org.apache.bookkeeper.proto with parameters of type ClientConfigurationModifierConstructorDescriptionBookieClientImpl(ClientConfiguration conf, io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.buffer.ByteBufAllocator allocator, OrderedExecutor executor, ScheduledExecutorService scheduler, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver) (package private)DefaultPerChannelBookieClientPool(ClientConfiguration conf, PerChannelBookieClientFactory factory, BookieId address, int coreSize) PerChannelBookieClient(ClientConfiguration conf, OrderedExecutor executor, io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.buffer.ByteBufAllocator allocator, BookieId bookieId, StatsLogger parentStatsLogger, ClientAuthProvider.Factory authProviderFactory, com.google.protobuf.ExtensionRegistry extRegistry, PerChannelBookieClientPool pcbcPool, SecurityHandlerFactory shFactory, BookieAddressResolver bookieAddressResolver) PerChannelBookieClient(ClientConfiguration conf, OrderedExecutor executor, io.netty.channel.EventLoopGroup eventLoopGroup, BookieId bookieId, StatsLogger parentStatsLogger, ClientAuthProvider.Factory authProviderFactory, com.google.protobuf.ExtensionRegistry extRegistry, PerChannelBookieClientPool pcbcPool, BookieAddressResolver bookieAddressResolver) -
Uses of ClientConfiguration in org.apache.bookkeeper.sasl
Methods in org.apache.bookkeeper.sasl with parameters of type ClientConfiguration -
Uses of ClientConfiguration in org.apache.bookkeeper.tools.cli.helpers
Methods in org.apache.bookkeeper.tools.cli.helpers with parameters of type ClientConfigurationModifier and TypeMethodDescriptionprotected booleanClientCommand.apply(ClientConfiguration conf, ClientFlagsT cmdFlags) protected booleanDiscoveryCommand.apply(ClientConfiguration clientConf, DiscoveryFlagsT cmdFlags) -
Uses of ClientConfiguration in org.apache.bookkeeper.util
Methods in org.apache.bookkeeper.util with parameters of type ClientConfigurationModifier and TypeMethodDescriptionstatic io.netty.channel.EventLoopGroupEventLoopUtil.getClientEventLoopGroup(ClientConfiguration conf, ThreadFactory threadFactory)
BookKeeperBuilder.allocator(io.netty.buffer.ByteBufAllocator)