- decorateCallable(Bulkhead, Callable<T>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a callable which is decorated by a bulkhead.
- decorateCallable(ThreadPoolBulkhead, Callable<T>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns a supplier which submits a value-returning task for execution and
returns a CompletionStage representing the pending results of the task.
- decorateCallable(Callable<T>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns a supplier which submits a value-returning task for execution and
returns a CompletionStage representing the asynchronous computation of the task.
- decorateCheckedConsumer(Bulkhead, CheckedConsumer<T>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a consumer which is decorated by a bulkhead.
- decorateCheckedFunction(Bulkhead, CheckedFunction1<T, R>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a function which is decorated by a bulkhead.
- decorateCheckedRunnable(Bulkhead, CheckedRunnable) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a runnable which is decorated by a bulkhead.
- decorateCheckedSupplier(Bulkhead, CheckedFunction0<T>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a supplier which is decorated by a bulkhead.
- decorateCompletionStage(Bulkhead, Supplier<CompletionStage<T>>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a supplier which is decorated by a bulkhead.
- decorateConsumer(Bulkhead, Consumer<T>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a consumer which is decorated by a bulkhead.
- decorateEitherSupplier(Bulkhead, Supplier<Either<? extends Exception, T>>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a supplier which is decorated by a bulkhead.
- decorateFunction(Bulkhead, Function<T, R>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a function which is decorated by a bulkhead.
- decorateFuture(Bulkhead, Supplier<Future<T>>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a supplier of type Future which is decorated by a bulkhead.
- decorateRunnable(Bulkhead, Runnable) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a runnable which is decorated by a bulkhead.
- decorateRunnable(List<? extends ContextPropagator>, Runnable) - Static method in interface io.github.resilience4j.bulkhead.ContextPropagator
-
Method decorates runnable to copy variables across thread boundary.
- decorateRunnable(ContextPropagator, Runnable) - Static method in interface io.github.resilience4j.bulkhead.ContextPropagator
-
Method decorates runnable to copy variables across thread boundary.
- decorateRunnable(ThreadPoolBulkhead, Runnable) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns a supplier which submits a task for execution and returns a CompletionStage representing the state of the task.
- decorateRunnable(Runnable) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns a supplier which submits a task for execution and returns a CompletionStage representing the
asynchronous computation of the task.
- decorateSupplier(Bulkhead, Supplier<T>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a supplier which is decorated by a bulkhead.
- decorateSupplier(ContextPropagator, Supplier<T>) - Static method in interface io.github.resilience4j.bulkhead.ContextPropagator
-
Method decorates supplier to copy variables across thread boundary.
- decorateSupplier(List<? extends ContextPropagator>, Supplier<T>) - Static method in interface io.github.resilience4j.bulkhead.ContextPropagator
-
Method decorates supplier to copy variables across thread boundary.
- decorateSupplier(ThreadPoolBulkhead, Supplier<T>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns a supplier which submits a value-returning task for execution
and returns a CompletionStage representing the pending results of the task.
- decorateSupplier(Supplier<T>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns a supplier which submits a value-returning task for execution and
returns a CompletionStage representing the asynchronous computation of the task.
- decorateTrySupplier(Bulkhead, Supplier<Try<T>>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns a supplier which is decorated by a bulkhead.
- DEFAULT_CORE_THREAD_POOL_SIZE - Static variable in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- DEFAULT_FAIR_CALL_HANDLING_STRATEGY_ENABLED - Static variable in class io.github.resilience4j.bulkhead.BulkheadConfig
-
- DEFAULT_KEEP_ALIVE_DURATION - Static variable in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- DEFAULT_MAX_CONCURRENT_CALLS - Static variable in class io.github.resilience4j.bulkhead.BulkheadConfig
-
- DEFAULT_MAX_THREAD_POOL_SIZE - Static variable in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- DEFAULT_MAX_WAIT_DURATION - Static variable in class io.github.resilience4j.bulkhead.BulkheadConfig
-
- DEFAULT_PREFIX - Static variable in class io.github.resilience4j.bulkhead.utils.MetricNames
-
- DEFAULT_PREFIX_THREAD_POOL - Static variable in class io.github.resilience4j.bulkhead.utils.MetricNames
-
- DEFAULT_QUEUE_CAPACITY - Static variable in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- DEFAULT_WRITABLE_STACK_TRACE_ENABLED - Static variable in class io.github.resilience4j.bulkhead.BulkheadConfig
-
- DEFAULT_WRITABLE_STACK_TRACE_ENABLED - Static variable in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- get() - Method in class io.github.resilience4j.bulkhead.Bulkhead.BulkheadFuture
-
- get(long, TimeUnit) - Method in class io.github.resilience4j.bulkhead.Bulkhead.BulkheadFuture
-
- getAllBulkheads() - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
- getAllBulkheads() - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
- getAllBulkheads() - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
- getAllBulkheads() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
- getAvailableConcurrentCalls() - Method in interface io.github.resilience4j.bulkhead.Bulkhead.Metrics
-
Returns the number of parallel executions this bulkhead can support at this point in
time.
- getBulkheadConfig() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns the BulkheadConfig of this Bulkhead.
- getBulkheadConfig() - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Returns the ThreadPoolBulkheadConfig of this Bulkhead.
- getBulkheadConfig() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Returns the BulkheadConfig of this Bulkhead.
- getBulkheadConfig() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns the ThreadPoolBulkheadConfig of this Bulkhead.
- getBulkheadName() - Method in interface io.github.resilience4j.bulkhead.event.BulkheadEvent
-
Returns the name of the bulkhead which has created the event.
- getContextPropagator() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- getCoreThreadPoolSize() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.Metrics
-
Returns the core number of threads.
- getCoreThreadPoolSize() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- getCreationTime() - Method in interface io.github.resilience4j.bulkhead.event.BulkheadEvent
-
Returns the creation time of bulkhead event.
- getEventPublisher() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns an EventPublisher which subscribes to the reactive stream of BulkheadEvent and can be
used to register event consumers.
- getEventPublisher() - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Returns an EventPublisher which subscribes to the reactive stream of BulkheadEvent and can be
used to register event consumers.
- getEventPublisher() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Returns an EventPublisher which subscribes to the reactive stream of BulkheadEvent and can be
used to register event consumers.
- getEventPublisher() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns an EventPublisher which subscribes to the reactive stream of BulkheadEvent and can be
used to register event consumers.
- getEventType() - Method in interface io.github.resilience4j.bulkhead.event.BulkheadEvent
-
Returns the type of the bulkhead event.
- getEventType() - Method in class io.github.resilience4j.bulkhead.event.BulkheadOnCallFinishedEvent
-
- getEventType() - Method in class io.github.resilience4j.bulkhead.event.BulkheadOnCallPermittedEvent
-
- getEventType() - Method in class io.github.resilience4j.bulkhead.event.BulkheadOnCallRejectedEvent
-
- getKeepAliveDuration() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- getMaxAllowedConcurrentCalls() - Method in interface io.github.resilience4j.bulkhead.Bulkhead.Metrics
-
- getMaxConcurrentCalls() - Method in class io.github.resilience4j.bulkhead.BulkheadConfig
-
- getMaximumThreadPoolSize() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.Metrics
-
Returns the maximum allowed number of threads.
- getMaxThreadPoolSize() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- getMaxWaitDuration() - Method in class io.github.resilience4j.bulkhead.BulkheadConfig
-
- getMetrics() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Get the Metrics of this Bulkhead.
- getMetrics() - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Get the Metrics of this Bulkhead.
- getMetrics() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Get the Metrics of this Bulkhead.
- getMetrics() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Get the Metrics of this Bulkhead.
- getName() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns the name of this bulkhead.
- getName() - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Returns the name of this bulkhead.
- getName() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Returns the name of this bulkhead.
- getName() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns the name of this bulkhead.
- getQueueCapacity() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.Metrics
-
Returns the queue capacity.
- getQueueCapacity() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
- getQueueDepth() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.Metrics
-
Returns the number of tasks in the queue.
- getRemainingQueueCapacity() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.Metrics
-
Returns the remaining queue capacity.
- getTags() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Returns an unmodifiable map with tags assigned to this Bulkhead.
- getTags() - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Returns an unmodifiable map with tags assigned to this Retry.
- getTags() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Returns an unmodifiable map with tags assigned to this Bulkhead.
- getTags() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns an unmodifiable map with tags assigned to this Retry.
- getThreadPoolSize() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.Metrics
-
Returns the current number of threads in the pool.
- of(String, BulkheadConfig) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Creates a bulkhead with a custom configuration
- of(String, BulkheadConfig, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Creates a bulkhead with a custom configuration
- of(String, Supplier<BulkheadConfig>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Creates a bulkhead with a custom configuration
- of(String, Supplier<BulkheadConfig>, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Creates a bulkhead with a custom configuration
- of(BulkheadConfig) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a custom Bulkhead configuration.
- of(BulkheadConfig, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a custom Bulkhead configuration.
- of(BulkheadConfig, RegistryEventConsumer<Bulkhead>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a custom default Bulkhead configuration and a Bulkhead
registry event consumer.
- of(BulkheadConfig, List<RegistryEventConsumer<Bulkhead>>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a custom default Bulkhead configuration and a list of
Bulkhead registry event consumers.
- of(Map<String, BulkheadConfig>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a Map of shared Bulkhead configurations.
- of(Map<String, BulkheadConfig>, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a Map of shared Bulkhead configurations.
- of(Map<String, BulkheadConfig>, RegistryEventConsumer<Bulkhead>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a Map of shared Bulkhead configurations and a Bulkhead
registry event consumer.
- of(Map<String, BulkheadConfig>, RegistryEventConsumer<Bulkhead>, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a Map of shared Bulkhead configurations and a Bulkhead
registry event consumer.
- of(Map<String, BulkheadConfig>, List<RegistryEventConsumer<Bulkhead>>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a Map of shared Bulkhead configurations and a list of
Bulkhead registry event consumers.
- of(String, ThreadPoolBulkheadConfig) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Creates a bulkhead with a custom configuration
- of(String, ThreadPoolBulkheadConfig, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Creates a bulkhead with a custom configuration
- of(String, Supplier<ThreadPoolBulkheadConfig>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Creates a bulkhead with a custom configuration
- of(ThreadPoolBulkheadConfig) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a BulkheadRegistry with a custom Bulkhead configuration.
- of(ThreadPoolBulkheadConfig, RegistryEventConsumer<ThreadPoolBulkhead>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a custom default ThreadPoolBulkhead configuration
and a ThreadPoolBulkhead registry event consumer.
- of(ThreadPoolBulkheadConfig, List<RegistryEventConsumer<ThreadPoolBulkhead>>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a custom default ThreadPoolBulkhead configuration
and a list of ThreadPoolBulkhead registry event consumers.
- of(Map<String, ThreadPoolBulkheadConfig>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared ThreadPoolBulkhead configurations.
- of(Map<String, ThreadPoolBulkheadConfig>, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared ThreadPoolBulkhead configurations.
- of(Map<String, ThreadPoolBulkheadConfig>, RegistryEventConsumer<ThreadPoolBulkhead>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared ThreadPoolBulkhead configurations
and a ThreadPoolBulkhead registry event consumer.
- of(Map<String, ThreadPoolBulkheadConfig>, RegistryEventConsumer<ThreadPoolBulkhead>, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared ThreadPoolBulkhead configurations
and a ThreadPoolBulkhead registry event consumer.
- of(Map<String, ThreadPoolBulkheadConfig>, List<RegistryEventConsumer<ThreadPoolBulkhead>>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared ThreadPoolBulkhead configurations
and a list of ThreadPoolBulkhead registry event consumers.
- of(Map<String, ThreadPoolBulkheadConfig>, List<RegistryEventConsumer<ThreadPoolBulkhead>>, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a Map of shared ThreadPoolBulkhead configurations
and a list of ThreadPoolBulkhead registry event consumers.
- ofDefaults(String) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Create a Bulkhead with a default configuration.
- ofDefaults() - Static method in class io.github.resilience4j.bulkhead.BulkheadConfig
-
Creates a default Bulkhead configuration.
- ofDefaults() - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a default Bulkhead configuration
- ofDefaults(String) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Create a Bulkhead with a default configuration.
- ofDefaults() - Static method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
Creates a default Bulkhead configuration.
- ofDefaults() - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a default ThreadPoolBulkhead configuration
- ofDefaults(Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Creates a ThreadPoolBulkheadRegistry with a default ThreadPoolBulkhead configuration
Tags added to the registry will be added to every instance created by this registry.
- onCallFinished(EventConsumer<BulkheadOnCallFinishedEvent>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead.EventPublisher
-
- onCallFinished(EventConsumer<BulkheadOnCallFinishedEvent>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher
-
- onCallPermitted(EventConsumer<BulkheadOnCallPermittedEvent>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead.EventPublisher
-
- onCallPermitted(EventConsumer<BulkheadOnCallPermittedEvent>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher
-
- onCallRejected(EventConsumer<BulkheadOnCallRejectedEvent>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead.EventPublisher
-
- onCallRejected(EventConsumer<BulkheadOnCallRejectedEvent>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher
-
- onComplete() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Records a completed call and releases a permission.
- onComplete() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Records a completed call and releases a permission.