Uses of Class
org.apache.bookkeeper.conf.ClientConfiguration
-
Packages that use ClientConfiguration Package Description org.apache.bookkeeper.auth Classes used to handle authentication in bookies and clients.org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.client BookKeeper Client.org.apache.bookkeeper.client.api BookKeeper Client Public API.org.apache.bookkeeper.client.impl BookKeeper Client implementation package.org.apache.bookkeeper.conf Configurations used by bookkeeper.org.apache.bookkeeper.meta Classes for interacting with bookkeeper ledgers and ledger metadata.org.apache.bookkeeper.meta.zk ZooKeeper based metadata implementation.org.apache.bookkeeper.proto Classes related to the Bookkeeper protocol.org.apache.bookkeeper.sasl SASL and JAAS Authentication classes.org.apache.bookkeeper.tools.cli.helpers This classes provides some helper mixins for easily to add commands to bookie shell.org.apache.bookkeeper.util Bookkeeper utilities. -
-
Uses of ClientConfiguration in org.apache.bookkeeper.auth
Methods in org.apache.bookkeeper.auth with parameters of type ClientConfiguration Modifier and Type Method Description voidClientAuthProvider.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 ClientConfiguration Modifier and Type Method Description EnsemblePlacementPolicyLocalBookieEnsemblePlacementPolicy. initialize(ClientConfiguration conf, java.util.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 ClientConfiguration Modifier and Type Field Description (package private) ClientConfigurationBookKeeper.Builder. conf(package private) ClientConfigurationBookKeeper. confMethods in org.apache.bookkeeper.client that return ClientConfiguration Modifier and Type Method Description protected ClientConfigurationBookKeeper. getConf()ClientConfigurationBookKeeperAdmin. getConf()Methods in org.apache.bookkeeper.client with parameters of type ClientConfiguration Modifier and Type Method Description static BookKeeper.BuilderBookKeeper. forConfig(ClientConfiguration conf)(package private) static ClientInternalConfClientInternalConf. fromConfig(ClientConfiguration conf)(package private) static ClientInternalConfClientInternalConf. fromConfigAndFeatureProvider(ClientConfiguration conf, FeatureProvider featureProvider)EnsemblePlacementPolicyDefaultEnsemblePlacementPolicy. initialize(ClientConfiguration conf, java.util.Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer hashedWheelTimer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver)EnsemblePlacementPolicyEnsemblePlacementPolicy. initialize(ClientConfiguration conf, java.util.Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer hashedWheelTimer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver)Initialize the policy.RackawareEnsemblePlacementPolicyImplRackawareEnsemblePlacementPolicyImpl. initialize(ClientConfiguration conf, java.util.Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver)RegionAwareEnsemblePlacementPolicyRegionAwareEnsemblePlacementPolicy. initialize(ClientConfiguration conf, java.util.Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver)EnsemblePlacementPolicyZoneawareEnsemblePlacementPolicy. initialize(ClientConfiguration conf, java.util.Optional<DNSToSwitchMapping> optionalDnsResolver, io.netty.util.HashedWheelTimer timer, FeatureProvider featureProvider, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver)EnsemblePlacementPolicyZoneawareEnsemblePlacementPolicyImpl. initialize(ClientConfiguration conf, java.util.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 ClientConfiguration Constructor Description BookieInfoReader(BookKeeper bk, ClientConfiguration conf, java.util.concurrent.ScheduledExecutorService scheduler)BookieWatcherImpl(ClientConfiguration conf, EnsemblePlacementPolicy placementPolicy, RegistrationClient registrationClient, BookieAddressResolver bookieAddressResolver, StatsLogger statsLogger)BookKeeper(ClientConfiguration conf)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.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 .BookKeeperAdmin(ClientConfiguration conf)Constructor that takes in a configuration object so we know how to connect to ZooKeeper to retrieve information about the BookKeeper cluster.Builder(ClientConfiguration conf)LedgerFragmentReplicator(BookKeeper bkc, 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 ClientConfiguration Modifier and Type Method Description static 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 Constructor Description BookKeeperBuilderImpl(ClientConfiguration conf) -
Uses of ClientConfiguration in org.apache.bookkeeper.conf
Methods in org.apache.bookkeeper.conf that return ClientConfiguration Modifier and Type Method Description ClientConfigurationClientConfiguration. enableBookieHealthCheck()Enables the bookie health check.protected ClientConfigurationClientConfiguration. getThis()ClientConfigurationClientConfiguration. setAddEntryQuorumTimeout(int timeout)Set timeout for top-level add entry request.ClientConfigurationClientConfiguration. setAddEntryTimeout(int timeout)Set timeout for add entry request.ClientConfigurationClientConfiguration. setBatchReadEnabled(boolean enable)ClientConfigurationClientConfiguration. setBookieAddressResolverEnabled(boolean enabled)Enable/Disable BookieAddressResolver.ClientConfigurationClientConfiguration. setBookieErrorThresholdPerInterval(long thresholdPerInterval)Set the error threshold per interval (getBookieHealthCheckIntervalSeconds()) for a bookie before it is quarantined.ClientConfigurationClientConfiguration. setBookieFailureHistoryExpirationMSec(int expirationMSec)Set the bookie failure tracking expiration timeout.ClientConfigurationClientConfiguration. setBookieHealthCheckInterval(int interval, java.util.concurrent.TimeUnit unit)Set the bookie health check interval.ClientConfigurationClientConfiguration. setBookieMaxWeightMultipleForWeightBasedPlacement(int multiple)Set the max multiple to use for nodes with very high weight.ClientConfigurationClientConfiguration. setBookieQuarantineRatio(double ratio)set the bookie quarantine ratio.ClientConfigurationClientConfiguration. setBookieQuarantineTime(int quarantineTime, java.util.concurrent.TimeUnit unit)Set the time for which a bookie will be quarantined.ClientConfigurationClientConfiguration. setBookieRecoveryDigestType(BookKeeper.DigestType digestType)Set digest type used in bookkeeper admin.ClientConfigurationClientConfiguration. setBookieRecoveryPasswd(byte[] passwd)Set passwd used in bookkeeper admin.ClientConfigurationClientConfiguration. setClientConnectBookieUnavailableLogThrottling(int throttleValue, java.util.concurrent.TimeUnit unit)Set the log frequency when a bookie is unavailable, in order to limit log filesize.ClientConfigurationClientConfiguration. setClientConnectTimeoutMillis(int connectTimeoutMillis)Set client netty connect timeout in millis.ClientConfigurationClientConfiguration. setClientReceiveBufferSize(int bufferSize)Set client netty channel receive buffer size.ClientConfigurationClientConfiguration. setClientRole(java.lang.String role)Set the client role.ClientConfigurationClientConfiguration. setClientSendBufferSize(int bufferSize)Set client netty channel send buffer size.ClientConfigurationClientConfiguration. setClientSockKeepalive(boolean keepalive)Set socket keepalive setting.ClientConfigurationClientConfiguration. setClientTcpNoDelay(boolean noDelay)Set socket nodelay setting.ClientConfigurationClientConfiguration. setClientWriteBufferHighWaterMark(int waterMark)Set client netty channel write buffer high water mark.ClientConfigurationClientConfiguration. setClientWriteBufferLowWaterMark(int waterMark)Set client netty channel write buffer low water mark.ClientConfigurationClientConfiguration. setDelayEnsembleChange(boolean enabled)Enable/Disable delaying ensemble change.ClientConfigurationClientConfiguration. setDisableEnsembleChangeFeatureName(java.lang.String disableEnsembleChangeFeatureName)Set the name of the dynamic feature that disables ensemble change.ClientConfigurationClientConfiguration. setDiskWeightBasedPlacementEnabled(boolean isEnabled)Set whether or not disk weight based placement is enabled.ClientConfigurationClientConfiguration. setEnableBookieAddressTracking(boolean value)Enable/Disable bookie address changes tracking.ClientConfigurationClientConfiguration. setEnableBookieFailureTracking(boolean enabled)Enable/Disable bookie failure tracking.ClientConfigurationClientConfiguration. setEnableDigestTypeAutodetection(boolean enable)Enable autodetection of digest type.ClientConfigurationClientConfiguration. setEnableParallelRecoveryRead(boolean enabled)Enable/Disable parallel reading in recovery read.ClientConfigurationClientConfiguration. setEnableTaskExecutionStats(boolean enabled)Enable/Disable recording task execution stats.ClientConfigurationClientConfiguration. setEnsemblePlacementPolicy(java.lang.Class<? extends EnsemblePlacementPolicy> policyClass)Set Ensemble Placement Policy Class.ClientConfigurationClientConfiguration. setExplictLacInterval(int interval)Set the interval to check the need for sending an explicit LAC.ClientConfigurationClientConfiguration. setFirstSpeculativeReadLACTimeout(int timeout)Set the period of time after which the first speculative read last add confirmed and entry should be triggered.ClientConfigurationClientConfiguration. setFirstSpeculativeReadTimeout(int timeout)Set the first speculative read timeout.ClientConfigurationClientConfiguration. setGetBookieInfoIntervalSeconds(int pollInterval, java.util.concurrent.TimeUnit unit)Set the time interval between successive polls for bookie get info.ClientConfigurationClientConfiguration. setGetBookieInfoRetryIntervalSeconds(int interval, java.util.concurrent.TimeUnit unit)Set the time interval between retries on unsuccessful GetInfo requests.ClientConfigurationClientConfiguration. setGetBookieInfoTimeout(int timeoutSecs)Set the timeout value in secs for the GET_BOOKIE_INFO request.ClientConfigurationClientConfiguration. setHostnameVerificationEnabled(boolean enabled)Enable/Disable hostname verification for tls connection.ClientConfigurationClientConfiguration. setMaxAllowedEnsembleChanges(int num)Set the max allowed ensemble change number.ClientConfigurationClientConfiguration. setMaxSpeculativeReadLACTimeout(int timeout)Set the maximum interval between successive speculative read last add confirmed and entry requests.ClientConfigurationClientConfiguration. setMaxSpeculativeReadTimeout(int timeout)Set the max speculative read timeout.ClientConfigurationClientConfiguration. setNettyMaxFrameSizeBytes(int maxSize)Set the max number of bytes a single message can be that is read by the bookie.ClientConfigurationClientConfiguration. setNettyUsePooledBuffers(boolean enabled)Deprecated.ClientConfigurationClientConfiguration. setNetworkTopologyStabilizePeriodSeconds(int seconds)Set the network topology stabilize period in seconds.ClientConfigurationClientConfiguration. setNumChannelsPerBookie(int numChannelsPerBookie)Set num channels per bookie.ClientConfigurationClientConfiguration. setNumIOThreads(int numThreads)Set the number of IO threads.ClientConfigurationClientConfiguration. setNumWorkerThreads(int numThreads)Set the number of worker threads.ClientConfigurationClientConfiguration. setOpportunisticStriping(boolean enabled)Enable/Disable opportunistic striping.ClientConfigurationClientConfiguration. setPCBCTimeoutTimerNumTicks(int numTicks)Deprecated.ClientConfigurationClientConfiguration. setPCBCTimeoutTimerTickDurationMs(long tickDuration)Deprecated.ClientConfigurationClientConfiguration. setReadEntryTimeout(int timeout)Set the timeout for read entry request.ClientConfigurationClientConfiguration. setReadTimeout(int timeout)Deprecated.usesetReadEntryTimeout(int)orsetAddEntryTimeout(int)insteadClientConfigurationClientConfiguration. setRecoveryBatchReadEnabled(boolean enabled)Enable/disable recovery batch read.ClientConfigurationClientConfiguration. setRecoveryReadBatchSize(int batchSize)Set Recovery Read Batch Size.ClientConfigurationClientConfiguration. setRegistrationClientClass(java.lang.Class<? extends RegistrationClient> regClientClass)Deprecated.since 4.7.0ClientConfigurationClientConfiguration. setReorderReadSequenceEnabled(boolean enabled)Enable/disable reordering read sequence on reading entries.ClientConfigurationClientConfiguration. setReorderThresholdPendingRequests(int threshold)Set the threshold for the number of pending requests beyond which to reorder reads.ClientConfigurationClientConfiguration. setSpeculativeReadLACTimeoutBackoffMultiplier(float speculativeReadLACTimeoutBackoffMultiplier)Set the multiplier to use when determining time between successive speculative read LAC requests.ClientConfigurationClientConfiguration. setSpeculativeReadTimeout(int timeout)Set the speculative read timeout.ClientConfigurationClientConfiguration. setSpeculativeReadTimeoutBackoffMultiplier(float speculativeReadTimeoutBackoffMultiplier)Set the multiplier to use when determining time between successive speculative read requests.ClientConfigurationClientConfiguration. setStartTLSTimeout(int timeoutSecs)Set the timeout value in secs for the START_TLS request.ClientConfigurationClientConfiguration. setStickyReadsEnabled(boolean enabled)Enable/disable having read operations for a ledger to be sticky to a single bookie.ClientConfigurationClientConfiguration. setStoreSystemtimeAsLedgerCreationTime(boolean enabled)Enable the client to use system time as the ledger creation time.ClientConfigurationClientConfiguration. setTaskExecutionWarnTimeMicros(long warnTime)Set task execution duration which triggers a warning.ClientConfigurationClientConfiguration. setTcpUserTimeoutMillis(int tcpUserTimeoutMillis)Set client netty TCP user timeout in millis (only for Epoll channels).ClientConfigurationClientConfiguration. setThrottleValue(int throttle)Set throttle value.ClientConfigurationClientConfiguration. setTimeoutMonitorIntervalSec(long timeoutInterval)Set the interval between successive executions of the operation timeout monitor.ClientConfigurationClientConfiguration. setTimeoutTaskIntervalMillis(long timeoutMillis)Deprecated.ClientConfigurationClientConfiguration. setTimeoutTimerNumTicks(int numTicks)Set number of ticks that used for timeout timer.ClientConfigurationClientConfiguration. setTimeoutTimerTickDurationMs(long tickDuration)Set the tick duration in milliseconds that used for timeout timer.ClientConfigurationClientConfiguration. setTLSCertificatePath(java.lang.String arg)Set the path to file containing TLS Certificate.ClientConfigurationClientConfiguration. setTLSKeyStore(java.lang.String arg)Set the keystore path for the client.ClientConfigurationClientConfiguration. setTLSKeyStorePasswordPath(java.lang.String arg)Set the path to file containing keystore password, if the client keystore is password protected.ClientConfigurationClientConfiguration. setTLSKeyStoreType(java.lang.String arg)Set the keystore type for client.ClientConfigurationClientConfiguration. setTLSTrustStore(java.lang.String arg)Set the truststore path for the client.ClientConfigurationClientConfiguration. setTLSTrustStorePasswordPath(java.lang.String arg)Set the path to file containing truststore password, if the client truststore is password protected.ClientConfigurationClientConfiguration. setTLSTrustStoreType(java.lang.String arg)Set the truststore type for client.ClientConfigurationClientConfiguration. setUseV2WireProtocol(boolean useV2WireProtocol)Set whether or not to use older Bookkeeper wire protocol (no protobuf).ClientConfigurationClientConfiguration. 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 ClientConfiguration Modifier and Type Method Description MetadataClientDriverMetadataClientDriver. initialize(ClientConfiguration conf, java.util.concurrent.ScheduledExecutorService scheduler, StatsLogger statsLogger, java.util.Optional<java.lang.Object> ctx)Initialize the metadata driver.static <T> TMetadataDrivers. runFunctionWithMetadataClientDriver(ClientConfiguration conf, java.util.function.Function<MetadataClientDriver,T> function, java.util.concurrent.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 ClientConfiguration Modifier and Type Field Description (package private) ClientConfigurationZKMetadataClientDriver. clientConfMethods in org.apache.bookkeeper.meta.zk with parameters of type ClientConfiguration Modifier and Type Method Description MetadataClientDriverZKMetadataClientDriver. initialize(ClientConfiguration conf, java.util.concurrent.ScheduledExecutorService scheduler, StatsLogger statsLogger, java.util.Optional<java.lang.Object> optionalCtx) -
Uses of ClientConfiguration in org.apache.bookkeeper.proto
Fields in org.apache.bookkeeper.proto declared as ClientConfiguration Modifier and Type Field Description (package private) ClientConfigurationDefaultPerChannelBookieClientPool. confprotected ClientConfigurationPerChannelBookieClient. confConstructors in org.apache.bookkeeper.proto with parameters of type ClientConfiguration Constructor Description BookieClientImpl(ClientConfiguration conf, io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.buffer.ByteBufAllocator allocator, OrderedExecutor executor, java.util.concurrent.ScheduledExecutorService scheduler, StatsLogger statsLogger, BookieAddressResolver bookieAddressResolver)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 Modifier and Type Method Description voidSASLClientProviderFactory. init(ClientConfiguration conf) -
Uses of ClientConfiguration in org.apache.bookkeeper.tools.cli.helpers
Methods in org.apache.bookkeeper.tools.cli.helpers with parameters of type ClientConfiguration Modifier and Type Method Description protected 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 ClientConfiguration Modifier and Type Method Description static io.netty.channel.EventLoopGroupEventLoopUtil. getClientEventLoopGroup(ClientConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)
-