Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Z 

A

AbstractBuilder() - Constructor for class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
AbstractComponent<ConfT extends ComponentConfiguration> - Class in org.apache.bookkeeper.common.component
The base class represents a component.
AbstractComponent(String, ConfT) - Constructor for class org.apache.bookkeeper.common.component.AbstractComponent
 
AbstractLifecycleComponent<ConfT extends ComponentConfiguration> - Class in org.apache.bookkeeper.common.component
AbstractLifecycleComponent(String, ConfT, StatsLogger) - Constructor for class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
accept(T, Throwable) - Method in interface org.apache.bookkeeper.common.concurrent.FutureEventListener
 
add(T) - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
addComponent(LifecycleComponent) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack.Builder
 
addExecutorDecorators(ExecutorService) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
addExecutorDecorators(ExecutorService) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
 
addLifecycleListener(LifecycleListener) - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
addLifecycleListener(LifecycleListener) - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
addLifecycleListener(LifecycleListener) - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
addLifecycleListener(LifecycleListener) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
addProperty(String, Object) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
addPropertyDirect(String, Object) - Method in class org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
addWatcher(Watcher<T>) - Method in class org.apache.bookkeeper.common.util.Watchable
Adds an watcher to the set of watchers for this object, provided that it is not the same as some watcher already in the set.
afterClose() - Method in interface org.apache.bookkeeper.common.component.LifecycleListener
 
afterStart() - Method in interface org.apache.bookkeeper.common.component.LifecycleListener
 
afterStop() - Method in interface org.apache.bookkeeper.common.component.LifecycleListener
 
asJson() - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
returns the string representation of json format of this config.
atLeast(Number) - Static method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
A numeric range that checks the lower bound.
atMost(Number) - Static method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
A numeric range that checks the upper bound.
AutoCloseableLifecycleComponent - Class in org.apache.bookkeeper.common.component
Allows for AutoClosable resources to be added to the component lifecycle without having to implement ServerLifecycleComponent directly.
AutoCloseableLifecycleComponent(String, AutoCloseable) - Constructor for class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
awaitTermination(long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
awaitTermination(long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 

B

Backoff - Class in org.apache.bookkeeper.common.util
Implements various backoff strategies.
Backoff() - Constructor for class org.apache.bookkeeper.common.util.Backoff
 
Backoff.Constant - Class in org.apache.bookkeeper.common.util
A constant backoff policy.
Backoff.Exponential - Class in org.apache.bookkeeper.common.util
A exponential backoff policy.
Backoff.Jitter - Class in org.apache.bookkeeper.common.util
A Jittered backoff policy.
Backoff.Jitter.Type - Enum in org.apache.bookkeeper.common.util
Jitter type.
Backoff.Policy - Interface in org.apache.bookkeeper.common.util
Back off policy.
BatchedArrayBlockingQueue<T> - Class in org.apache.bookkeeper.common.collections
This implements a BlockingQueue backed by an array with fixed capacity.
BatchedArrayBlockingQueue(int) - Constructor for class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
BatchedBlockingQueue<T> - Interface in org.apache.bookkeeper.common.collections
 
beforeClose() - Method in interface org.apache.bookkeeper.common.component.LifecycleListener
 
beforeStart() - Method in interface org.apache.bookkeeper.common.component.LifecycleListener
 
beforeStop() - Method in interface org.apache.bookkeeper.common.component.LifecycleListener
 
between(Number, Number) - Static method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
A numeric range that checks both lower and upper bounds.
BlockingMpscQueue<T> - Class in org.apache.bookkeeper.common.collections
Blocking queue optimized for multiple producers and single consumer.
BlockingMpscQueue(int) - Constructor for class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
BoundedExecutorService - Class in org.apache.bookkeeper.common.util
Implements ExecutorService and allows limiting the number of tasks to be scheduled in the thread's queue.
BoundedExecutorService(ThreadPoolExecutor, int) - Constructor for class org.apache.bookkeeper.common.util.BoundedExecutorService
 
BoundedScheduledExecutorService - Class in org.apache.bookkeeper.common.util
Implements ListeningScheduledExecutorService and allows limiting the number of tasks to be scheduled in the thread's queue.
BoundedScheduledExecutorService(ScheduledThreadPoolExecutor, int) - Constructor for class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
BroadCastStatsLogger - Class in org.apache.bookkeeper.common.stats
Stats Loggers that broadcast stats to multiple StatsLogger.
BroadCastStatsLogger() - Constructor for class org.apache.bookkeeper.common.stats.BroadCastStatsLogger
 
BroadCastStatsLogger.MasterSlave - Class in org.apache.bookkeeper.common.stats
 
BroadCastStatsLogger.Two - Class in org.apache.bookkeeper.common.stats
 
build() - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack.Builder
 
build() - Method in class org.apache.bookkeeper.common.conf.ConfigDef.Builder
 
build() - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
 
build() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
 
build() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
build() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.Builder
 
build() - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.SchedulerBuilder
 
builder() - Static method in class org.apache.bookkeeper.common.conf.ConfigDef
Create a builder to build a config def.
builder(String) - Static method in class org.apache.bookkeeper.common.conf.ConfigKey
Build a config key of name.
builder(String) - Static method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
Create a config key group of name.
Builder() - Constructor for class org.apache.bookkeeper.common.util.OrderedExecutor.Builder
 
BusyWait - Class in org.apache.bookkeeper.common.collections
Utility class to use "Thread.onSpinWait()" when available.

C

call() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.ContextPreservingCallable
 
call() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.TimedCallable
 
callable - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.TimedCallable
 
canEqual(Object) - Method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
canEqual(Object) - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
canEqual(Object) - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
canEqual(Object) - Method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
canEqual(Object) - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
canEqual(Object) - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
canMoveToClosed() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
canMoveToStarted() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
canMoveToStopped() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
children() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
The list of sub key-groups of this key group.
children(List<String>) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
The list of sub key-groups of this key group.
children(List<String>) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
The list of sub key-groups of this key group.
chooseThread() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
chooseThread(Object) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
chooseThread(long) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
skip hashcode generation in this special case.
chooseThread() - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
 
chooseThread(Object) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
 
chooseThread(long) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
 
chooseThreadIdx(long, int) - Static method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
ClassValidator<T> - Class in org.apache.bookkeeper.common.conf.validators
Validator that validates a configuration setting is returning a given type of class.
ClassValidator(Class<T>) - Constructor for class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
clear() - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
clear() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
clear() - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
clearProperty(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
clearPropertyDirect(String) - Method in class org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
close() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
close() - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
close() - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
close() - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
close(T) - Method in interface org.apache.bookkeeper.common.util.SharedResourceManager.Resource
Destroy the given instance.
closed() - Method in class org.apache.bookkeeper.common.component.Lifecycle
Returns true if the state is closed.
collect(List<CompletableFuture<T>>) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
complete(CompletableFuture<T>, T) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
completeExceptionally(CompletableFuture<T>, Throwable) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
ComponentConfiguration - Class in org.apache.bookkeeper.common.conf
Component Configuration.
ComponentConfiguration(CompositeConfiguration, String) - Constructor for class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
ComponentInfoPublisher - Class in org.apache.bookkeeper.common.component
Allows a component to publish information about the services it implements, the endpoints it exposes and other useful information for management tools and client.
ComponentInfoPublisher() - Constructor for class org.apache.bookkeeper.common.component.ComponentInfoPublisher
 
ComponentInfoPublisher.EndpointInfo - Class in org.apache.bookkeeper.common.component
Endpoint information.
componentName - Variable in class org.apache.bookkeeper.common.component.AbstractComponent
 
ComponentShutdownHook(LifecycleComponent, CompletableFuture<Void>) - Constructor for class org.apache.bookkeeper.common.component.ComponentStarter.ComponentShutdownHook
 
ComponentStarter - Class in org.apache.bookkeeper.common.component
Utils to start components.
ComponentStarter() - Constructor for class org.apache.bookkeeper.common.component.ComponentStarter
 
ComponentStarter.ComponentShutdownHook - Class in org.apache.bookkeeper.common.component
 
ConcurrentConfiguration - Class in org.apache.bookkeeper.common.conf
Configuration view built on concurrent hash map for fast thread-safe access.
ConcurrentConfiguration() - Constructor for class org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
conf - Variable in class org.apache.bookkeeper.common.component.AbstractComponent
 
ConfigDef - Class in org.apache.bookkeeper.common.conf
A definition of a configuration instance.
ConfigDef.Builder - Class in org.apache.bookkeeper.common.conf
Builder to build a configuration definition.
ConfigException - Exception in org.apache.bookkeeper.common.conf
Exception thrown for configuration errors.
ConfigException(String) - Constructor for exception org.apache.bookkeeper.common.conf.ConfigException
Construct a config exception with provided error.
ConfigException(String, Throwable) - Constructor for exception org.apache.bookkeeper.common.conf.ConfigException
Construct a config exception with provided error and reason.
ConfigKey - Class in org.apache.bookkeeper.common.conf
A configuration key in a configuration.
ConfigKey(boolean, String, Type, String, String, Object, List<String>, Validator, ConfigKeyGroup, int, List<String>, boolean, String, String, String) - Constructor for class org.apache.bookkeeper.common.conf.ConfigKey
 
ConfigKey.ConfigKeyBuilder - Class in org.apache.bookkeeper.common.conf
 
ConfigKeyBuilder() - Constructor for class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
 
ConfigKeyGroup - Class in org.apache.bookkeeper.common.conf
Define a group of configuration settings.
ConfigKeyGroup(String, String, List<String>, int) - Constructor for class org.apache.bookkeeper.common.conf.ConfigKeyGroup
 
ConfigKeyGroup.ConfigKeyGroupBuilder - Class in org.apache.bookkeeper.common.conf
 
ConfigKeyGroupBuilder() - Constructor for class org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
 
constant(long) - Static method in class org.apache.bookkeeper.common.util.Backoff
Create a stream with constant backoffs.
containsKey(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
containsKey(String) - Method in class org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
ContextPreservingCallable(Callable<T>) - Constructor for class org.apache.bookkeeper.common.util.OrderedExecutor.ContextPreservingCallable
 
ContextPreservingRunnable(Runnable) - Constructor for class org.apache.bookkeeper.common.util.OrderedExecutor.ContextPreservingRunnable
 
create(String) - Static method in class org.apache.bookkeeper.common.net.ServiceURI
Create a service uri instance from a uri string.
create(URI) - Static method in class org.apache.bookkeeper.common.net.ServiceURI
Create a service uri instance from a URI instance.
create() - Static method in class org.apache.bookkeeper.common.util.SharedResourceManager
 
create(Supplier<ScheduledExecutorService>) - Static method in class org.apache.bookkeeper.common.util.SharedResourceManager
 
create() - Method in interface org.apache.bookkeeper.common.util.SharedResourceManager.Resource
Create a new instance of the resource.
createFuture() - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
createSingleThreadExecutor(ThreadFactory) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
createSingleThreadExecutor(ThreadFactory) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
 
currentUsage() - Method in class org.apache.bookkeeper.common.util.MemoryLimitController
 

D

decorrelatedJittered(long, long) - Static method in class org.apache.bookkeeper.common.util.Backoff
Create an infinite backoffs that have jitter with a random distribution between startMs and 3 times the previously selected value, capped at maxMs.
DEFAULT - Static variable in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
The default key group.
DEFAULT - Static variable in class org.apache.bookkeeper.common.util.Backoff
 
DEFAULT_LOCAL_STREAM_STORAGE_SERVICE_URI - Static variable in class org.apache.bookkeeper.common.net.ServiceURI
The default local bk service uri.
defaultValue(Object) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
Default value as a string representation.
defaultValue() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Default value as a string representation.
defaultValue(Object) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Default value as a string representation.
delegate() - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
delegate() - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
delegate() - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
deleteWatcher(Watcher<T>) - Method in class org.apache.bookkeeper.common.util.Watchable
Deletes an watcher from the set of watcher of this object.
deleteWatchers() - Method in class org.apache.bookkeeper.common.util.Watchable
Clears the watcher list so that this object no longer has any watchers.
DELIMITER - Static variable in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
dependents(List<String>) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The list of settings dependents on this setting.
dependents() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The list of settings dependents on this setting.
dependents(List<String>) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The list of settings dependents on this setting.
deprecated(boolean) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
Whether this setting is deprecated or not.
deprecated() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Whether this setting is deprecated or not.
deprecated(boolean) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Whether this setting is deprecated or not.
deprecatedByConfigKey(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The config key that deprecates this key.
deprecatedByConfigKey() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The config key that deprecates this key.
deprecatedByConfigKey(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The config key that deprecates this key.
deprecatedSince(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The version when this settings was deprecated.
deprecatedSince() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The version when this settings was deprecated.
deprecatedSince(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The version when this settings was deprecated.
description(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
Description of the configuration setting.
description() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Description of the configuration setting.
description(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Description of the configuration setting.
description(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
Description of the key group.
description() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
Description of the key group.
description(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
Description of the key group.
DESTROY_DELAY_SECONDS - Static variable in class org.apache.bookkeeper.common.util.SharedResourceManager
 
doClose() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
doClose() - Method in class org.apache.bookkeeper.common.component.RxSchedulerLifecycleComponent
 
documentation(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
Documentation of the configuration setting.
documentation() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Documentation of the configuration setting.
documentation(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Documentation of the configuration setting.
documentation() - Method in interface org.apache.bookkeeper.common.conf.Validator
Return the documentation for a given validator.
documentation() - Method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
documentation() - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
doStart() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
doStart() - Method in class org.apache.bookkeeper.common.component.RxSchedulerLifecycleComponent
 
doStop() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
doStop() - Method in class org.apache.bookkeeper.common.component.RxSchedulerLifecycleComponent
 
drainTo(Collection<? super T>) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
drainTo(Collection<? super T>, int) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
drainTo(Collection<? super T>) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
drainTo(Collection<? super T>, int) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
drainTo(Collection<? super T>) - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
drainTo(Collection<? super T>, int) - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 

E

elapsedMicroSec(long) - Static method in class org.apache.bookkeeper.common.util.MathUtils
Microseconds elapsed since the time specified, the input is nanoTime the only conversion happens when computing the elapsed time.
elapsedMSec(long) - Static method in class org.apache.bookkeeper.common.util.MathUtils
Milliseconds elapsed since the time specified, the input is nanoTime the only conversion happens when computing the elapsed time.
elapsedNanos(long) - Static method in class org.apache.bookkeeper.common.util.MathUtils
Nanoseconds elapsed since the time specified, the input is nanoTime the only conversion happens when computing the elapsed time.
element() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
enableBusyWait - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
enableBusyWait(boolean) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
enableBusyWait - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
enableThreadScopedMetrics - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
enableThreadScopedMetrics(boolean) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
enableThreadScopedMetrics - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
EndpointInfo(String, int, String, String, List<String>, List<String>) - Constructor for class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
ensure(CompletableFuture<T>, Runnable) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
equalJittered(long, long) - Static method in class org.apache.bookkeeper.common.util.Backoff
Create infinite backoffs that keep half of the exponential growth, and jitter between 0 and that amount.
equals(Object) - Method in class org.apache.bookkeeper.common.collections.RecyclableArrayList
 
equals(Object) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
equals(Object) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
equals(Object) - Method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
equals(Object) - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
equals(Object) - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
equals(Object) - Method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
equals(Object) - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
equals(Object) - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
exception(Throwable) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
ExceptionMessageHelper - Class in org.apache.bookkeeper.common.util
Utility to make it easier to add context to exception messages.
ExceptionMessageHelper(String) - Constructor for class org.apache.bookkeeper.common.util.ExceptionMessageHelper
 
execute(Runnable) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
execute(Runnable) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
execute(Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
execute(Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
execute(Runnable) - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
executeOrdered(Object, Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
Schedules a one time action to execute with an ordering guarantee on the key.
executeOrdered(long, Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
Schedules a one time action to execute with an ordering guarantee on the key.
executeOrdered(int, Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
Schedules a one time action to execute with an ordering guarantee on the key.
ExecutorUtils - Class in org.apache.bookkeeper.common.util
Executor/Thread related utils.
ExecutorUtils() - Constructor for class org.apache.bookkeeper.common.util.ExecutorUtils
 
exMsg(String) - Static method in class org.apache.bookkeeper.common.util.ExceptionMessageHelper
 
exponential(long, int, long) - Static method in class org.apache.bookkeeper.common.util.Backoff
Create a stream with exponential backoffs.
exponentialJittered(long, long) - Static method in class org.apache.bookkeeper.common.util.Backoff
Create a stream of exponential backoffs with jitters.

F

findNextPositivePowerOfTwo(int) - Static method in class org.apache.bookkeeper.common.util.MathUtils
 
first - Variable in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
forceShutdown(long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
Force threads shutdown (cancel active requests) after specified delay, to be used after shutdown() rejects new requests.
forName(String, Class<T>) - Static method in class org.apache.bookkeeper.common.util.ReflectionUtils
Returns the Class object object associated with the class or interface with the given string name, which is a subclass of xface.
fromJson(String, Class<T>) - Static method in class org.apache.bookkeeper.common.util.JsonUtil
 
FutureEventListener<T> - Interface in org.apache.bookkeeper.common.concurrent
Provide similar interface (as twitter future) over java future.
FutureUtils - Class in org.apache.bookkeeper.common.concurrent
Future related utils.

G

get(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting value from the provided conf.
get(SharedResourceManager.Resource<T>) - Method in class org.apache.bookkeeper.common.util.SharedResourceManager
 
getAuth() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
getBigDecimal(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getBigDecimal(String, BigDecimal) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getBigInteger(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getBigInteger(String, BigInteger) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getBoolean(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getBoolean(String, boolean) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getBoolean(String, Boolean) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getBoolean(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Boolean value.
getBoundedExecutor(ExecutorService) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
getBoundedExecutor(ExecutorService) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
 
getByte(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getByte(String, byte) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getByte(String, Byte) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getClass(Configuration, Class<T>) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Class value.
getClass(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Class value.
getClass(Configuration, String, Class<?>, ClassLoader) - Static method in class org.apache.bookkeeper.common.util.ReflectionUtils
Get the value of the name property as a Class.
getClass(Configuration, String, Class<? extends T>, Class<T>, ClassLoader) - Static method in class org.apache.bookkeeper.common.util.ReflectionUtils
Get the value of the name property as a Class implementing the interface specified by xface.
getCompletedTasksCount() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
getComponent(int) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
getConf() - Method in class org.apache.bookkeeper.common.component.AbstractComponent
 
getCounter(String) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
getDouble(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getDouble(String, double) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getDouble(String, Double) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getDouble(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Double value.
getEndpoints() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher
 
getExtensions() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
getFailedTasksCount() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
getFloat(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getFloat(String, float) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getFloat(String, Float) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getGroups() - Method in class org.apache.bookkeeper.common.conf.ConfigDef
 
getHost() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
getId() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
getInt(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getInt(String, int) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getInt(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Integer value.
getInteger(String, Integer) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getInterfaceClass() - Method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
getKeyName(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getKeys(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getKeys() - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getKeys() - Method in class org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
getKeys() - Method in class org.apache.bookkeeper.common.conf.ConfigDef
 
getLimit() - Method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
getLimit() - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
getLimit() - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
getList(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getList(String, List<?>) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getList(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Class value.
getLong(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getLong(String, long) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getLong(String, Long) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getLong(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Long value.
getMax() - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
getMaxMs() - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
getMaxMs() - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
getMin() - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
getMs() - Method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
getMultiplier() - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
getName() - Method in class org.apache.bookkeeper.common.component.AbstractComponent
 
getName() - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
getName() - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
getName() - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
getNumComponents() - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
getNumWatchers() - Method in class org.apache.bookkeeper.common.util.Watchable
 
getOpStatsLogger(String) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
getPort() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
getProperties() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher
 
getProperties(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getProperty(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getProperty(String) - Method in class org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
getProtocol() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
getQueuedTasksCount() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
getRejectedTasksCount() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
getServiceHosts() - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
getServiceInfos() - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
getServiceName() - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
getServicePath() - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
getServiceUser() - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
getSettings() - Method in class org.apache.bookkeeper.common.conf.ConfigDef
 
getShort(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getShort(String, short) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getShort(String, Short) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getShort(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a Short value.
getStartMs() - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
getStartMs() - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
getStatsLogger() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
getString(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getString(String, String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getString(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Retrieve the setting from the configuration conf as a String value.
getStringArray(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getSubmittedTasksCount() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
getThreadFactory(String, boolean) - Static method in class org.apache.bookkeeper.common.util.ExecutorUtils
Get a ThreadFactory suitable for use in the current environment.
getThreadID(long) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
getThreadScopedCounter(String) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
Thread-scoped stats not currently supported.
getThreadScopedOpStatsLogger(String) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
Thread-scoped stats not currently supported.
getType() - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
getUnderlyingConf() - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
getUri() - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
group(ConfigKeyGroup) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The key-group to group settings together.
group() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The key-group to group settings together.
group(ConfigKeyGroup) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The key-group to group settings together.
GrowableMpScArrayConsumerBlockingQueue<T> - Class in org.apache.bookkeeper.common.collections
This implements a BlockingQueue backed by an array with no fixed capacity.
GrowableMpScArrayConsumerBlockingQueue() - Constructor for class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
GrowableMpScArrayConsumerBlockingQueue(int) - Constructor for class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 

H

hashCode() - Method in class org.apache.bookkeeper.common.collections.RecyclableArrayList
 
hashCode() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
hashCode() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
hashCode() - Method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
hashCode() - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
hashCode() - Method in class org.apache.bookkeeper.common.net.ServiceURI
 
hashCode() - Method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
hashCode() - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
hashCode() - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 

I

ignore(CompletableFuture<T>) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
Ignore exception from the future.
ignore(CompletableFuture<T>, String) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
Ignore exception from the future and log errorMsg on exceptions.
initialized() - Method in class org.apache.bookkeeper.common.component.Lifecycle
Returns true if the state is initialized.
initNanos - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.TimedCallable
 
initNanos - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.TimedRunnable
 
InterfaceAudience - Class in org.apache.bookkeeper.common.annotation
Annotation to inform users of a package, class or method's intended audience.
InterfaceAudience.LimitedPrivate - Annotation Type in org.apache.bookkeeper.common.annotation
Intended for use only within the project(s) specified in the annotation.
InterfaceAudience.Private - Annotation Type in org.apache.bookkeeper.common.annotation
Intended for use only within bookkeeper itself.
InterfaceAudience.Public - Annotation Type in org.apache.bookkeeper.common.annotation
Intended for use by any project or application.
InterfaceStability - Class in org.apache.bookkeeper.common.annotation
Annotation to inform users of how much to rely on a particular package, class or method not changing over time.
InterfaceStability.Evolving - Annotation Type in org.apache.bookkeeper.common.annotation
Evolving, but can break compatibility at minor release (i.e.
InterfaceStability.Stable - Annotation Type in org.apache.bookkeeper.common.annotation
Can evolve while retaining compatibility for minor release boundaries.; can break compatibility only at major release (ie.
InterfaceStability.Unstable - Annotation Type in org.apache.bookkeeper.common.annotation
No guarantee is provided as to reliability or stability across any level of release granularity.
internalBuilder() - Static method in class org.apache.bookkeeper.common.conf.ConfigKey
 
internalBuilder() - Static method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
 
invokeAll(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
invokeAll(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
invokeAll(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
invokeAll(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
invokeAny(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
isEmpty() - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
isEmpty() - Method in class org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
isShutdown() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
isShutdown() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
isTerminated() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
isTerminated() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
iterator() - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
iterator() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 

J

JsonUtil - Class in org.apache.bookkeeper.common.util
Util class which helps to parse Json to and from Object.
JsonUtil() - Constructor for class org.apache.bookkeeper.common.util.JsonUtil
 
JsonUtil.ParseJsonException - Exception in org.apache.bookkeeper.common.util
A JSON parsing exception.

K

kv(String, Object) - Method in class org.apache.bookkeeper.common.util.ExceptionMessageHelper
 

L

lifecycle - Variable in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
lifecycle - Variable in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
Lifecycle - Class in org.apache.bookkeeper.common.component
Lifecycle state.
Lifecycle() - Constructor for class org.apache.bookkeeper.common.component.Lifecycle
 
Lifecycle.State - Enum in org.apache.bookkeeper.common.component
Lifecycle State.
LifecycleComponent - Interface in org.apache.bookkeeper.common.component
A component based on lifecycle management.
LifecycleComponentStack - Class in org.apache.bookkeeper.common.component
A stack of LifecycleComponents.
LifecycleComponentStack.Builder - Class in org.apache.bookkeeper.common.component
Builder to build a stack of LifecycleComponents.
LifecycleListener - Interface in org.apache.bookkeeper.common.component
Listener listening of the lifecycle changes.
lifecycleState() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
lifecycleState() - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
lifecycleState() - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
lifecycleState() - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
loadConf(URL) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
Load configuration from a given confURL.
loadConf(Configuration) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
LogExceptionRunnable - Class in org.apache.bookkeeper.common.util
A simple wrapper for a Runnable that logs any exception thrown by it, before re-throwing it.
LogExceptionRunnable(Runnable) - Constructor for class org.apache.bookkeeper.common.util.LogExceptionRunnable
 
LOGGER - Static variable in interface org.apache.bookkeeper.common.util.SafeRunnable
 

M

masterslave(StatsLogger, StatsLogger) - Static method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger
Create a broadcast stats logger of two stats loggers master and slave.
MathUtils - Class in org.apache.bookkeeper.common.util
Provides misc math functions that don't come standard.
MathUtils() - Constructor for class org.apache.bookkeeper.common.util.MathUtils
 
MathUtils - Class in org.apache.bookkeeper.util
Provides misc math functions that don't come standard.
MathUtils() - Constructor for class org.apache.bookkeeper.util.MathUtils
 
maxTasksInQueue - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
maxTasksInQueue(int) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
maxTasksInQueue - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
MdcUtils - Class in org.apache.bookkeeper.common.util
Utils for work with Slf4j MDC.
MdcUtils() - Constructor for class org.apache.bookkeeper.common.util.MdcUtils
 
MemoryLimitController - Class in org.apache.bookkeeper.common.util
Controller for tracking the amount of memory used for some task.
MemoryLimitController(long) - Constructor for class org.apache.bookkeeper.common.util.MemoryLimitController
 
moveToClosed() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
moveToStarted() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
moveToStopped() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 

N

name(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
Name of the configuration setting.
name() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Name of the configuration setting.
name(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Name of the configuration setting.
name(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
Name of the key group.
name() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
Name of the key group.
name(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
Name of the key group.
name - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
name(String) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
name - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
newBuilder() - Static method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
newBuilder() - Static method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
newInstance() - Method in class org.apache.bookkeeper.common.collections.RecyclableArrayList.Recycler
 
newInstance(Class<T>) - Static method in class org.apache.bookkeeper.common.util.ReflectionUtils
Create an object for the given class.
newInstance(String, Class<T>) - Static method in class org.apache.bookkeeper.common.util.ReflectionUtils
Create an object using the given class name.
newObject(Recycler.Handle<RecyclableArrayList<X>>) - Method in class org.apache.bookkeeper.common.collections.RecyclableArrayList.Recycler
 
newSchedulerBuilder() - Static method in class org.apache.bookkeeper.common.util.OrderedScheduler
Create a builder to build ordered scheduler.
NO_TASK_LIMIT - Static variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
NONE - Static variable in interface org.apache.bookkeeper.common.util.Backoff.Policy
 
NonFatalPredicate - Static variable in class org.apache.bookkeeper.common.util.Retries
 
notifyWatchers(Function<R, T>, R) - Method in class org.apache.bookkeeper.common.util.Watchable
Notify the watchers with the update value.
nowInNano() - Static method in class org.apache.bookkeeper.common.util.MathUtils
Current time from some arbitrary time base in the past, counting in nanoseconds, and not affected by settimeofday or similar system clock changes.
NullValidator - Class in org.apache.bookkeeper.common.conf.validators
A validator that does nothing.
numThreads - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
numThreads(int) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 

O

of(Class) - Static method in class org.apache.bookkeeper.common.conf.ConfigDef
Build the config definitation of a config class.
of(Class<T>) - Static method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
Create a validator to validate if a setting is returning a class that extends from interfaceClass.
of() - Static method in class org.apache.bookkeeper.common.conf.validators.NullValidator
Return the instance of NullValidator.
of(long) - Static method in class org.apache.bookkeeper.common.util.Backoff.Constant
Create infinite constant backoff stream.
of(long, long) - Static method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
of(long, long, int) - Static method in class org.apache.bookkeeper.common.util.Backoff.Exponential
Create an infinite exponential backoff policy.
of(long, long, int, int) - Static method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
of(Backoff.Jitter.Type, long, long) - Static method in class org.apache.bookkeeper.common.util.Backoff.Jitter
Create infinite jittered backoff stream.
of(Backoff.Jitter.Type, long, long, long) - Static method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
offer(T) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
offer(T, long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
offer(T, long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
offer(T) - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
offer(T, long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
onFailure(Throwable) - Method in interface org.apache.bookkeeper.common.concurrent.FutureEventListener
 
onFailure(Throwable) - Method in class org.apache.bookkeeper.common.stats.OpStatsListener
 
onSpinWait() - Static method in class org.apache.bookkeeper.common.collections.BusyWait
If available (Java 9+), use intrinsic Thread#onSpinWait which will reduce CPU consumption during the wait, otherwise fallback to regular spinning.
onSuccess(T) - Method in interface org.apache.bookkeeper.common.concurrent.FutureEventListener
 
onSuccess(T) - Method in class org.apache.bookkeeper.common.stats.OpStatsListener
 
OpStatsListener<T> - Class in org.apache.bookkeeper.common.stats
A FutureEventListener monitors the stats for a given operation.
OpStatsListener(OpStatsLogger, Stopwatch) - Constructor for class org.apache.bookkeeper.common.stats.OpStatsListener
 
OpStatsListener(OpStatsLogger) - Constructor for class org.apache.bookkeeper.common.stats.OpStatsListener
 
optionValues(List<String>) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The list of options for this setting.
optionValues() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The list of options for this setting.
optionValues(List<String>) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The list of options for this setting.
order(int) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
The order of the key-group in a configuration.
order() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
The order of the key-group in a configuration.
order(int) - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
The order of the key-group in a configuration.
OrderedExecutor - Class in org.apache.bookkeeper.common.util
This class supports submitting tasks with an ordering key, so that tasks submitted with the same key will always be executed in order, but tasks across different keys can be unordered.
OrderedExecutor(String, int, ThreadFactory, StatsLogger, boolean, boolean, long, int, boolean, boolean) - Constructor for class org.apache.bookkeeper.common.util.OrderedExecutor
Constructs Safe executor.
OrderedExecutor.AbstractBuilder<T extends OrderedExecutor> - Class in org.apache.bookkeeper.common.util
Abstract builder class to build OrderedScheduler.
OrderedExecutor.Builder - Class in org.apache.bookkeeper.common.util
A builder class for an OrderedExecutor.
OrderedExecutor.ContextPreservingCallable<T> - Class in org.apache.bookkeeper.common.util
Decorator class for a callable that preserves MDC context.
OrderedExecutor.ContextPreservingRunnable - Class in org.apache.bookkeeper.common.util
Decorator class for a runnable that preserves MDC context.
OrderedExecutor.TimedCallable<T> - Class in org.apache.bookkeeper.common.util
Decorator class for a callable that measure the execution time.
OrderedExecutor.TimedRunnable - Class in org.apache.bookkeeper.common.util
Decorator class for a runnable that measure the execution time.
OrderedScheduler - Class in org.apache.bookkeeper.common.util
This class provides supports submitting tasks with an ordering key, so that tasks submitted with the same key will always be executed in order, but tasks across different keys can be unordered.
OrderedScheduler.OrderedSchedulerDecoratedThread - Class in org.apache.bookkeeper.common.util
 
OrderedScheduler.SchedulerBuilder - Class in org.apache.bookkeeper.common.util
Builder to build ordered scheduler.
ORDERING - Static variable in class org.apache.bookkeeper.common.conf.ConfigKey
 
ORDERING - Static variable in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
Ordering the key groups in a configuration.
orderInGroup(int) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The order of the setting in the key-group.
orderInGroup() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The order of the setting in the key-group.
orderInGroup(int) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The order of the setting in the key-group.
org.apache.bookkeeper.common.annotation - package org.apache.bookkeeper.common.annotation
Annotations used across the whole project.
org.apache.bookkeeper.common.collections - package org.apache.bookkeeper.common.collections
Bookkeeper common collections.
org.apache.bookkeeper.common.component - package org.apache.bookkeeper.common.component
Component and lifecycle management.
org.apache.bookkeeper.common.concurrent - package org.apache.bookkeeper.common.concurrent
Utility classes commonly useful in concurrent programming.
org.apache.bookkeeper.common.conf - package org.apache.bookkeeper.common.conf
Configuration related utilities.
org.apache.bookkeeper.common.conf.validators - package org.apache.bookkeeper.common.conf.validators
A collection of validators that validate configuration settings.
org.apache.bookkeeper.common.net - package org.apache.bookkeeper.common.net
Classes for resolving service uris in bookkeeper.
org.apache.bookkeeper.common.stats - package org.apache.bookkeeper.common.stats
Stats Related Utils.
org.apache.bookkeeper.common.util - package org.apache.bookkeeper.common.util
Util functions used across the project.
org.apache.bookkeeper.util - package org.apache.bookkeeper.util
defines the utilities used across the project.

P

ParseJsonException(String) - Constructor for exception org.apache.bookkeeper.common.util.JsonUtil.ParseJsonException
 
ParseJsonException(String, Throwable) - Constructor for exception org.apache.bookkeeper.common.util.JsonUtil.ParseJsonException
 
peek() - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
peek() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
poll() - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
poll(long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
poll(long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
poll() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
poll(long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
pollAll(T[], long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
pollAll(T[], long, TimeUnit) - Method in interface org.apache.bookkeeper.common.collections.BatchedBlockingQueue
Removes multiple items from the queue.
pollAll(T[], long, TimeUnit) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
preserveMdc() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
Flag describing executor's expectation in regards of MDC.
preserveMdcForTaskExecution - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
preserveMdcForTaskExecution(boolean) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
preserveMdcForTaskExecution - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
processList(List<T>, Function<T, CompletableFuture<R>>, ExecutorService) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
Process the list of items one by one using the process function processFunc.
proxyTo(CompletableFuture<T>, CompletableFuture<T>) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
publishEndpoint(ComponentInfoPublisher.EndpointInfo) - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher
 
publishInfo(ComponentInfoPublisher) - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
publishInfo(ComponentInfoPublisher) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
publishProperty(String, String) - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher
Publish an information about the system, like an endpoint address.
put(T) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
put(T) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
put(T) - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
putAll(List<T>) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
putAll(T[], int, int) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
putAll(T[], int, int) - Method in interface org.apache.bookkeeper.common.collections.BatchedBlockingQueue
 
putAll(T[], int, int) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 

R

rand - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
RangeValidator - Class in org.apache.bookkeeper.common.conf.validators
Validator that validates a configuration value is in a numeric range.
RangeValidator(Number, Number) - Constructor for class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
Recyclable - Interface in org.apache.bookkeeper.common.util
An interface represents an object that is recyclable.
RecyclableArrayList<T> - Class in org.apache.bookkeeper.common.collections
A simple list which is recyclable.
RecyclableArrayList() - Constructor for class org.apache.bookkeeper.common.collections.RecyclableArrayList
Default non-pooled instance.
RecyclableArrayList.Recycler<X> - Class in org.apache.bookkeeper.common.collections
An ArrayList recycler.
recycle() - Method in class org.apache.bookkeeper.common.collections.RecyclableArrayList
 
recycle() - Method in interface org.apache.bookkeeper.common.util.Recyclable
Recycle the instance.
recycle() - Method in class org.apache.bookkeeper.common.util.Watchable
 
Recycler() - Constructor for class org.apache.bookkeeper.common.collections.RecyclableArrayList.Recycler
 
ReferenceCounted - Interface in org.apache.bookkeeper.common.util
An interface for indicating an object is reference counted.
ReflectionUtils - Class in org.apache.bookkeeper.common.util
General Class Reflection Utils.
ReflectionUtils() - Constructor for class org.apache.bookkeeper.common.util.ReflectionUtils
 
registerGauge(String, Gauge<T>) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.MasterSlave
 
registerGauge(String, Gauge<T>) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
registerMetrics(StatsLogger) - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
release() - Method in interface org.apache.bookkeeper.common.util.ReferenceCounted
Release the reference.
release(SharedResourceManager.Resource<T>, T) - Method in class org.apache.bookkeeper.common.util.SharedResourceManager
 
releaseMemory(long) - Method in class org.apache.bookkeeper.common.util.MemoryLimitController
 
remainingCapacity() - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
remainingCapacity() - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
remainingCapacity() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
remove() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
removeLifecycleListener(LifecycleListener) - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
removeLifecycleListener(LifecycleListener) - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
removeLifecycleListener(LifecycleListener) - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
removeLifecycleListener(LifecycleListener) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
removeScope(String, StatsLogger) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
required(boolean) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
Flag indicates whether the setting is required.
required() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Flag indicates whether the setting is required.
required(boolean) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Flag indicates whether the setting is required.
rescue(CompletableFuture<T>, Function<Throwable, CompletableFuture<T>>) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
reserveMemory(long) - Method in class org.apache.bookkeeper.common.util.MemoryLimitController
 
restoreContext(Map<String, String>) - Static method in class org.apache.bookkeeper.common.util.MdcUtils
 
result(CompletableFuture<T>) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
result(CompletableFuture<T>, long, TimeUnit) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
result(CompletableFuture<T>, Function<Throwable, ExceptionT>) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
result(CompletableFuture<T>, Function<Throwable, ExceptionT>, long, TimeUnit) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
retain() - Method in interface org.apache.bookkeeper.common.util.ReferenceCounted
Retain the reference.
Retries - Class in org.apache.bookkeeper.common.util
A util class for supporting retries with customized backoff.
run() - Method in class org.apache.bookkeeper.common.component.ComponentStarter.ComponentShutdownHook
 
run() - Method in class org.apache.bookkeeper.common.util.LogExceptionRunnable
 
run() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.ContextPreservingRunnable
 
run() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.TimedRunnable
 
run(Stream<Long>, Predicate<Throwable>, Supplier<CompletableFuture<ReturnT>>, OrderedScheduler) - Static method in class org.apache.bookkeeper.common.util.Retries
Retry a given task on failures.
run(Stream<Long>, Predicate<Throwable>, Supplier<CompletableFuture<ReturnT>>, OrderedScheduler, Object) - Static method in class org.apache.bookkeeper.common.util.Retries
Retry a given task on failures.
run() - Method in interface org.apache.bookkeeper.common.util.SafeRunnable
 
run() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
runnable - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.TimedRunnable
 
RxSchedulerLifecycleComponent - Class in org.apache.bookkeeper.common.component
The scheduler for rxjava based jobs, such as data integrity checking.
RxSchedulerLifecycleComponent(String, ComponentConfiguration, StatsLogger, Scheduler, ExecutorService) - Constructor for class org.apache.bookkeeper.common.component.RxSchedulerLifecycleComponent
 

S

safeRun() - Method in interface org.apache.bookkeeper.common.util.SafeRunnable
 
safeRun(Runnable) - Static method in interface org.apache.bookkeeper.common.util.SafeRunnable
Utility method to use SafeRunnable from lambdas.
safeRun(Runnable, Consumer<Throwable>) - Static method in interface org.apache.bookkeeper.common.util.SafeRunnable
Utility method to use SafeRunnable from lambdas with a custom exception handler.
SafeRunnable - Interface in org.apache.bookkeeper.common.util
A runnable that catches runtime exceptions.
save(Path) - Method in class org.apache.bookkeeper.common.conf.ConfigDef
 
save(OutputStream) - Method in class org.apache.bookkeeper.common.conf.ConfigDef
 
sb - Variable in class org.apache.bookkeeper.common.util.ExceptionMessageHelper
 
schedule(Runnable, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
schedule(Runnable, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
schedule(Runnable, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
schedule(Runnable, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.SingleThreadSafeScheduledExecutorService
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.SingleThreadSafeScheduledExecutorService
 
scheduleAtFixedRateOrdered(Object, Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period.
scheduleOrdered(Object, Runnable, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
Creates and executes a one-shot action that becomes enabled after the given delay.
SchedulerBuilder() - Constructor for class org.apache.bookkeeper.common.util.OrderedScheduler.SchedulerBuilder
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.SingleThreadSafeScheduledExecutorService
 
scheduleWithFixedDelayOrdered(Object, Runnable, long, long, TimeUnit) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.
scope(String) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.MasterSlave
 
scope(String) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
second - Variable in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
SERVICE_BK - Static variable in class org.apache.bookkeeper.common.net.ServiceURI
Service string for bookkeeper service.
SERVICE_BK_PORT - Static variable in class org.apache.bookkeeper.common.net.ServiceURI
 
SERVICE_DLOG - Static variable in class org.apache.bookkeeper.common.net.ServiceURI
Service string for dlog service.
SERVICE_ZK - Static variable in class org.apache.bookkeeper.common.net.ServiceURI
Service string for ledger service that uses zookeeper as metadata store.
ServiceURI - Class in org.apache.bookkeeper.common.net
ServiceURI represents service uri within bookkeeper cluster.
set(Configuration, Object) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Update the setting name in the configuration conf with the provided value.
setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
Set the default handler invoked when a lifecycle component abruptly terminates due an uncaught exception.
setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
setProperty(String, Object) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
shared() - Static method in class org.apache.bookkeeper.common.util.SharedResourceManager
 
SharedResourceManager - Class in org.apache.bookkeeper.common.util
A holder for shared resource singletons.
SharedResourceManager.Resource<T> - Interface in org.apache.bookkeeper.common.util
Defines a resource, and the way to create and destroy instances of it.
shutdown() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
shutdown() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
shutdownNow() - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
shutdownNow() - Method in class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
signSafeMod(long, int) - Static method in class org.apache.bookkeeper.common.util.MathUtils
 
since(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The version when this setting was introduced.
since() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The version when this setting was introduced.
since(String) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The version when this setting was introduced.
SingleThreadExecutor - Class in org.apache.bookkeeper.common.util
Implements a single thread executor that drains the queue in batches to minimize contention between threads.
SingleThreadExecutor(ThreadFactory) - Constructor for class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
SingleThreadExecutor(ThreadFactory, int, boolean) - Constructor for class org.apache.bookkeeper.common.util.SingleThreadExecutor
 
SingleThreadExecutor.State - Enum in org.apache.bookkeeper.common.util
 
SingleThreadSafeScheduledExecutorService - Class in org.apache.bookkeeper.common.util
 
SingleThreadSafeScheduledExecutorService(ThreadFactory) - Constructor for class org.apache.bookkeeper.common.util.SingleThreadSafeScheduledExecutorService
 
size() - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
size() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
start() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
start() - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
start() - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
start() - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
startComponent(LifecycleComponent) - Static method in class org.apache.bookkeeper.common.component.ComponentStarter
Start a component and register a shutdown hook.
started() - Method in class org.apache.bookkeeper.common.component.Lifecycle
Returns true if the state is started.
startupFinished() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher
Called by the framework to signal that preparation of startup is done, so we have gathered all of the available information.
state() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
stats(CompletableFuture<T>, OpStatsLogger, Stopwatch) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
Add a event listener over result for collecting the operation stats.
statsLogger - Variable in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
statsLogger - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
statsLogger(StatsLogger) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
stop() - Method in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
stop() - Method in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
stop() - Method in interface org.apache.bookkeeper.common.component.LifecycleComponent
 
stop() - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack
 
stopped() - Method in class org.apache.bookkeeper.common.component.Lifecycle
Returns true if the state is stopped.
stoppedOrClosed() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
StreamUtil - Class in org.apache.bookkeeper.common.util
Java Stream related operations.
StreamUtil() - Constructor for class org.apache.bookkeeper.common.util.StreamUtil
 
submit(Callable<T>) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
submit(Runnable) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
submit(Runnable, T) - Method in class org.apache.bookkeeper.common.util.BoundedExecutorService
 
submit(Callable<T>) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
submit(Runnable) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
submit(Runnable, T) - Method in class org.apache.bookkeeper.common.util.BoundedScheduledExecutorService
 
submit(Callable<T>) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
submit(Runnable, T) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
submit(Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
submit(Callable<T>) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
submit(Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
submit(Runnable, T) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler.OrderedSchedulerDecoratedThread
 
submit(Runnable) - Method in class org.apache.bookkeeper.common.util.SingleThreadSafeScheduledExecutorService
 
submitOrdered(long, Callable<T>) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
submitOrdered(Object, Callable<T>) - Method in class org.apache.bookkeeper.common.util.OrderedScheduler
schedules a one time action to execute with an ordering guarantee on the key.
subset(String) - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 

T

take() - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
take() - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
take() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
takeAll(T[]) - Method in class org.apache.bookkeeper.common.collections.BatchedArrayBlockingQueue
 
takeAll(T[]) - Method in interface org.apache.bookkeeper.common.collections.BatchedBlockingQueue
Drain the queue into an array.
takeAll(T[]) - Method in class org.apache.bookkeeper.common.collections.BlockingMpscQueue
 
taskExecutionStats - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
taskPendingStats - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
threadFactory - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
threadFactory(ThreadFactory) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
threadIds - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
threads - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
timedCallable(Callable<T>) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
TimedCallable(Callable<T>) - Constructor for class org.apache.bookkeeper.common.util.OrderedExecutor.TimedCallable
 
timedCallables(Collection<? extends Callable<T>>) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
timedRunnable(Runnable) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor
 
TimedRunnable(Runnable) - Constructor for class org.apache.bookkeeper.common.util.OrderedExecutor.TimedRunnable
 
toBackoffs() - Method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
toBackoffs() - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
toBackoffs() - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
toBackoffs() - Method in interface org.apache.bookkeeper.common.util.Backoff.Policy
Convert the policy into a series of backoff values.
toJson(Object) - Static method in class org.apache.bookkeeper.common.util.JsonUtil
 
toString() - Method in class org.apache.bookkeeper.common.collections.GrowableMpScArrayConsumerBlockingQueue
 
toString() - Method in class org.apache.bookkeeper.common.component.ComponentInfoPublisher.EndpointInfo
 
toString() - Method in class org.apache.bookkeeper.common.component.Lifecycle
 
toString() - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
 
toString() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
 
toString() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
 
toString() - Method in class org.apache.bookkeeper.common.conf.ConfigKeyGroup
 
toString() - Method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
toString() - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
toString() - Method in class org.apache.bookkeeper.common.util.Backoff.Constant
 
toString() - Method in class org.apache.bookkeeper.common.util.Backoff.Exponential
 
toString() - Method in class org.apache.bookkeeper.common.util.Backoff.Jitter
 
toString() - Method in class org.apache.bookkeeper.common.util.ExceptionMessageHelper
 
toString() - Method in class org.apache.bookkeeper.common.util.LogExceptionRunnable
 
traceTaskExecution - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
traceTaskExecution(boolean) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
traceTaskExecution - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
traceTaskWarnTimeMicroSec(long) - Method in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
tryReserveMemory(long) - Method in class org.apache.bookkeeper.common.util.MemoryLimitController
 
two(StatsLogger, StatsLogger) - Static method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger
Create a broadcast stats logger of two stats loggers `first` and `second`.
type(Type) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
Type of the configuration setting.
type() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Type of the configuration setting.
type(Type) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Type of the configuration setting.
Type - Enum in org.apache.bookkeeper.common.conf
Config key types.

U

uncaughtExceptionHandler - Variable in class org.apache.bookkeeper.common.component.AbstractLifecycleComponent
 
uncaughtExceptionHandler - Variable in class org.apache.bookkeeper.common.component.AutoCloseableLifecycleComponent
 
unregisterGauge(String, Gauge<T>) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.MasterSlave
 
unregisterGauge(String, Gauge<T>) - Method in class org.apache.bookkeeper.common.stats.BroadCastStatsLogger.Two
 
update(T) - Method in interface org.apache.bookkeeper.common.util.Watcher
This method is called whenever the watched object is changed.

V

validate() - Method in class org.apache.bookkeeper.common.conf.ComponentConfiguration
 
validate(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigDef
Validate if the provided conf is a valid configuration of this configuration definition.
validate(Configuration) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
Validate the setting is valid in the provided config conf.
validate(String, Object) - Method in interface org.apache.bookkeeper.common.conf.Validator
Validates the configuration value.
validate(String, Object) - Method in class org.apache.bookkeeper.common.conf.validators.ClassValidator
 
validate(String, Object) - Method in class org.apache.bookkeeper.common.conf.validators.NullValidator
 
validate(String, Object) - Method in class org.apache.bookkeeper.common.conf.validators.RangeValidator
 
validator(Validator) - Method in class org.apache.bookkeeper.common.conf.ConfigKey.ConfigKeyBuilder
The validator used for validating configuration value.
validator() - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The validator used for validating configuration value.
validator(Validator) - Method in class org.apache.bookkeeper.common.conf.ConfigKey
The validator used for validating configuration value.
validator() - Method in enum org.apache.bookkeeper.common.conf.Type
 
Validator - Interface in org.apache.bookkeeper.common.conf
Validator that validates configuration settings.
value(T) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 
valueOf(String) - Static method in enum org.apache.bookkeeper.common.component.Lifecycle.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.bookkeeper.common.conf.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.bookkeeper.common.util.Backoff.Jitter.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.bookkeeper.common.util.SingleThreadExecutor.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.bookkeeper.common.component.Lifecycle.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.bookkeeper.common.conf.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.bookkeeper.common.util.Backoff.Jitter.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.bookkeeper.common.util.SingleThreadExecutor.State
Returns an array containing the constants of this enum type, in the order they are declared.
Void() - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
 

W

WARN_TIME_MICRO_SEC_DEFAULT - Static variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
warnTimeMicroSec - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor.AbstractBuilder
 
warnTimeMicroSec - Variable in class org.apache.bookkeeper.common.util.OrderedExecutor
 
Watchable<T> - Class in org.apache.bookkeeper.common.util
This class represents an watchable object, or "data" in the model-view paradigm.
Watchable(RecyclableArrayList.Recycler<Watcher<T>>) - Constructor for class org.apache.bookkeeper.common.util.Watchable
Construct an Watchable with zero watchers.
Watcher<T> - Interface in org.apache.bookkeeper.common.util
A class can implement the Watcher interface when it wants to be informed of one-time changes in watchable objects.
whenCompleteAsync(CompletableFuture<T>, BiConsumer<? super T, ? super Throwable>, OrderedScheduler, Object) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
Completing the future in the thread in the scheduler identified by the scheduleKey.
withComponentInfoPublisher(ComponentInfoPublisher) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack.Builder
 
withConfigKey(ConfigKey) - Method in class org.apache.bookkeeper.common.conf.ConfigDef.Builder
Add the config key to the builder.
withConfigKeyGroup(ConfigKeyGroup) - Method in class org.apache.bookkeeper.common.conf.ConfigDef.Builder
Add the config key group to the builder.
within(CompletableFuture<T>, long, TimeUnit, Throwable, OrderedScheduler, Object) - Static method in class org.apache.bookkeeper.common.concurrent.FutureUtils
Raise an exception to the promise within a given timeout period.
withName(String) - Method in class org.apache.bookkeeper.common.component.LifecycleComponentStack.Builder
 

Z

zip(Stream<? extends T1>, Stream<? extends T2>, BiFunction<? super T1, ? super T2, ? extends R>) - Static method in class org.apache.bookkeeper.common.util.StreamUtil
 
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.