Index
A B C D E F G I K M O Q R S T V W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- acquirePermission() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Acquires a permission to execute a call, only if one is available at the time of invocation If the current thread is interrupted while waiting for a permit then it won't throw InterruptedException, but its interrupt status will be set.
- acquirePermission() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Acquires a permission to execute a call, only if one is available at the time of invocation If the current thread is interrupted while waiting for a permit then it won't throw InterruptedException, but its interrupt status will be set.
- addBulkheadConfig(String, BulkheadConfig) - Method in class io.github.resilience4j.bulkhead.BulkheadRegistry.Builder
-
Configures a BulkheadRegistry with a custom Bulkhead configuration.
- addRegistryEventConsumer(RegistryEventConsumer<Bulkhead>) - Method in class io.github.resilience4j.bulkhead.BulkheadRegistry.Builder
-
Configures a BulkheadRegistry with a Bulkhead registry event consumer.
- addRegistryEventConsumer(RegistryEventConsumer<ThreadPoolBulkhead>) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry.Builder
-
Configures a ThreadPoolBulkheadRegistry with a ThreadPoolBulkhead registry event consumer.
- addThreadPoolBulkheadConfig(String, ThreadPoolBulkheadConfig) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry.Builder
-
Configures a ThreadPoolBulkheadRegistry with a custom ThreadPoolBulkhead configuration.
- AVAILABLE_CONCURRENT_CALLS - Static variable in class io.github.resilience4j.bulkhead.utils.MetricNames
- AVAILABLE_QUEUE_CAPACITY - Static variable in class io.github.resilience4j.bulkhead.utils.MetricNames
B
- build() - Method in class io.github.resilience4j.bulkhead.BulkheadConfig.Builder
-
Builds a BulkheadConfig
- build() - Method in class io.github.resilience4j.bulkhead.BulkheadRegistry.Builder
-
Builds a BulkheadRegistry
- build() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
Builds a BulkheadConfig
- build() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry.Builder
-
Builds a ThreadPoolBulkheadRegistry
- Builder() - Constructor for class io.github.resilience4j.bulkhead.BulkheadConfig.Builder
- Builder() - Constructor for class io.github.resilience4j.bulkhead.BulkheadRegistry.Builder
- Builder() - Constructor for class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
- Builder() - Constructor for class io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry.Builder
- Builder(BulkheadConfig) - Constructor for class io.github.resilience4j.bulkhead.BulkheadConfig.Builder
- Builder(ThreadPoolBulkheadConfig) - Constructor for class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
- bulkhead(String) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with default configuration. - bulkhead(String) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with default configuration. - bulkhead(String) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with default configuration. - bulkhead(String) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with default configuration. - bulkhead(String, BulkheadConfig) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom BulkheadConfig configuration. - bulkhead(String, BulkheadConfig) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom BulkheadConfig configuration. - bulkhead(String, BulkheadConfig, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom BulkheadConfig configuration. - bulkhead(String, BulkheadConfig, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom BulkheadConfig configuration. - bulkhead(String, ThreadPoolBulkheadConfig) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - bulkhead(String, ThreadPoolBulkheadConfig) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - bulkhead(String, ThreadPoolBulkheadConfig, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - bulkhead(String, ThreadPoolBulkheadConfig, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - bulkhead(String, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with default configuration. - bulkhead(String, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with default configuration. - bulkhead(String, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with default configuration. - bulkhead(String, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with default configuration. - bulkhead(String, String) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one. - bulkhead(String, String) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one. - bulkhead(String, String) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one. - bulkhead(String, String) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one. - bulkhead(String, String, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one. - bulkhead(String, String, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one. - bulkhead(String, String, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one. - bulkhead(String, String, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one. - bulkhead(String, Supplier<BulkheadConfig>) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom Bulkhead configuration. - bulkhead(String, Supplier<BulkheadConfig>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom Bulkhead configuration. - bulkhead(String, Supplier<BulkheadConfig>, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom Bulkhead configuration. - bulkhead(String, Supplier<BulkheadConfig>, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns a managed
Bulkheador creates a new one with a custom Bulkhead configuration. - bulkhead(String, Supplier<ThreadPoolBulkheadConfig>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - bulkhead(String, Supplier<ThreadPoolBulkheadConfig>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - bulkhead(String, Supplier<ThreadPoolBulkheadConfig>, Map<String, String>) - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - bulkhead(String, Supplier<ThreadPoolBulkheadConfig>, Map<String, String>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a managed
ThreadPoolBulkheador creates a new one with a custom ThreadPoolBulkhead configuration. - Bulkhead - Interface in io.github.resilience4j.bulkhead
-
A Bulkhead instance is thread-safe can be used to decorate multiple requests.
- Bulkhead.BulkheadFuture<T> - Class in io.github.resilience4j.bulkhead
-
This class decorates future with Bulkhead functionality around invocation.
- Bulkhead.EventPublisher - Interface in io.github.resilience4j.bulkhead
-
An EventPublisher which can be used to register event consumers.
- Bulkhead.Metrics - Interface in io.github.resilience4j.bulkhead
- BulkheadConfig - Class in io.github.resilience4j.bulkhead
-
A
BulkheadConfigconfigures aBulkhead - BulkheadConfig.Builder - Class in io.github.resilience4j.bulkhead
- BulkheadEvent - Interface in io.github.resilience4j.bulkhead.event
-
An event which is created by a bulkhead.
- BulkheadEvent.Type - Enum in io.github.resilience4j.bulkhead.event
-
Event types which are created by a bulkhead.
- BulkheadFullException - Exception in io.github.resilience4j.bulkhead
-
A
BulkheadFullExceptionsignals that the bulkhead is full. - BulkheadOnCallFinishedEvent - Class in io.github.resilience4j.bulkhead.event
-
A BulkheadEvent which informs that a call has been finished.
- BulkheadOnCallFinishedEvent(String) - Constructor for class io.github.resilience4j.bulkhead.event.BulkheadOnCallFinishedEvent
- BulkheadOnCallPermittedEvent - Class in io.github.resilience4j.bulkhead.event
-
A BulkheadEvent which informs that a call has been permitted to execute
- BulkheadOnCallPermittedEvent(String) - Constructor for class io.github.resilience4j.bulkhead.event.BulkheadOnCallPermittedEvent
- BulkheadOnCallRejectedEvent - Class in io.github.resilience4j.bulkhead.event
-
A BulkheadEvent which informs that a call has been rejected, because the bulkhead is full.
- BulkheadOnCallRejectedEvent(String) - Constructor for class io.github.resilience4j.bulkhead.event.BulkheadOnCallRejectedEvent
- BulkheadRegistry - Interface in io.github.resilience4j.bulkhead
-
The
BulkheadRegistryis a factory to create Bulkhead instances which stores all bulkhead instances in a registry. - BulkheadRegistry.Builder - Class in io.github.resilience4j.bulkhead
C
- CALL_FINISHED - io.github.resilience4j.bulkhead.event.BulkheadEvent.Type
-
A BulkheadEvent which informs that a call was finished(success and failure is indistinguishable)
- CALL_PERMITTED - io.github.resilience4j.bulkhead.event.BulkheadEvent.Type
-
A BulkheadEvent which informs that a call has been permitted to proceed
- CALL_REJECTED - io.github.resilience4j.bulkhead.event.BulkheadEvent.Type
-
A BulkheadEvent which informs that a call was rejected due to bulkhead being full
- cancel(boolean) - Method in class io.github.resilience4j.bulkhead.Bulkhead.BulkheadFuture
- changeConfig(BulkheadConfig) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Dynamic bulkhead configuration change.
- changeConfig(BulkheadConfig) - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Dynamic bulkhead configuration change.
- close() - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
- close() - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- contextPropagator(ContextPropagator...) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
- contextPropagator(Class<? extends ContextPropagator>...) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
Configures the context propagator class.
- coreThreadPoolSize(int) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
Configures the core thread pool size.
- createBulkheadFullException(Bulkhead) - Static method in exception io.github.resilience4j.bulkhead.BulkheadFullException
-
Static method to construct a
BulkheadFullExceptionwith a Bulkhead. - createBulkheadFullException(ThreadPoolBulkhead) - Static method in exception io.github.resilience4j.bulkhead.BulkheadFullException
-
Static method to construct a
BulkheadFullExceptionwith a ThreadPoolBulkhead. - CURRENT_THREAD_POOL_SIZE - Static variable in class io.github.resilience4j.bulkhead.utils.MetricNames
- custom() - Static method in class io.github.resilience4j.bulkhead.BulkheadConfig
-
Returns a builder to create a custom BulkheadConfig.
- custom() - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Returns a builder to create a custom BulkheadRegistry.
- custom() - Static method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
Returns a builder to create a custom ThreadPoolBulkheadConfig.
- custom() - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns a builder to create a custom ThreadPoolBulkheadRegistry.
D
- 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
CompletionStagerepresenting 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(ThreadPoolBulkhead, Runnable) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Returns a supplier which submits a task for execution and returns a
CompletionStagerepresenting 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
CompletionStagerepresenting 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(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
CompletionStagerepresenting 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
E
- executeCallable(Callable<T>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Decorates and executes the decorated Callable.
- executeCallable(Callable<T>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Submits a value-returning task for execution and returns a
CompletionStagerepresenting the asynchronous computation of the task. - executeCheckedSupplier(CheckedFunction0<T>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Decorates and executes the decorated Supplier.
- executeCompletionStage(Supplier<CompletionStage<T>>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Decorates and executes the decorated CompletionStage.
- executeEitherSupplier(Supplier<Either<? extends Exception, T>>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Decorates and executes the decorated Supplier.
- executeRunnable(Runnable) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Decorates and executes the decorated Runnable.
- executeRunnable(Runnable) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Submits a task for execution and returns a
CompletionStagerepresenting the asynchronous computation of the task. - executeSupplier(Supplier<T>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Decorates and executes the decorated Supplier.
- executeSupplier(Supplier<T>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Submits a value-returning task for execution and returns a
CompletionStagerepresenting the asynchronous computation of the task. - executeTrySupplier(Supplier<Try<T>>) - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Decorates and executes the decorated Supplier.
F
- fairCallHandlingStrategyEnabled(boolean) - Method in class io.github.resilience4j.bulkhead.BulkheadConfig.Builder
-
Indicates whether FairSync or NonfairSync should be used in Semaphore.
- FixedThreadPoolBulkhead - Class in io.github.resilience4j.bulkhead.internal
-
A Bulkhead implementation based on a fixed ThreadPoolExecutor. which is based into the thread pool execution handling : 1- submit service call through bulk head thread pool 2- if there is free thread from the thread pool or the queue is not yet full , it will be permitted 3- otherwise the thread pool will throw RejectedExecutionException which mean is not permitted
- FixedThreadPoolBulkhead(String) - Constructor for class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Creates a bulkhead with a default config.
- FixedThreadPoolBulkhead(String, ThreadPoolBulkheadConfig) - Constructor for class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Creates a bulkhead using a configuration supplied
- FixedThreadPoolBulkhead(String, ThreadPoolBulkheadConfig, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Creates a bulkhead using a configuration supplied
- FixedThreadPoolBulkhead(String, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Creates a bulkhead with a default config.
- FixedThreadPoolBulkhead(String, Supplier<ThreadPoolBulkheadConfig>) - Constructor for class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Create a bulkhead using a configuration supplier
- FixedThreadPoolBulkhead(String, Supplier<ThreadPoolBulkheadConfig>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Create a bulkhead using a configuration supplier
- from(BulkheadConfig) - Static method in class io.github.resilience4j.bulkhead.BulkheadConfig
-
Returns a builder to create a custom BulkheadConfig.
- from(ThreadPoolBulkheadConfig) - Static method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
-
Returns a builder to create a custom ThreadPoolBulkheadConfig.
G
- 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
-
Returns all managed
Bulkheadinstances. - getAllBulkheads() - Method in class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
Returns all managed
Bulkheadinstances. - getAllBulkheads() - Method in class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
Returns all managed
ThreadPoolBulkheadinstances. - getAllBulkheads() - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
-
Returns all managed
ThreadPoolBulkheadinstances. - 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
-
Returns the configured max amount of concurrent calls allowed for this bulkhead, basically it's a top inclusive bound for the value returned from
Bulkhead.Metrics.getAvailableConcurrentCalls(). - 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.
- getRejectedExecutionHandler() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
- 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.
I
- InMemoryBulkheadRegistry - Class in io.github.resilience4j.bulkhead.internal
-
Bulkhead instance manager; Constructs/returns bulkhead instances.
- InMemoryBulkheadRegistry() - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
The constructor with default default.
- InMemoryBulkheadRegistry(BulkheadConfig) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
-
The constructor with custom default config.
- InMemoryBulkheadRegistry(BulkheadConfig, RegistryEventConsumer<Bulkhead>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(BulkheadConfig, RegistryEventConsumer<Bulkhead>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(BulkheadConfig, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(BulkheadConfig, List<RegistryEventConsumer<Bulkhead>>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(BulkheadConfig, List<RegistryEventConsumer<Bulkhead>>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, BulkheadConfig>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, BulkheadConfig>, RegistryEventConsumer<Bulkhead>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, BulkheadConfig>, RegistryEventConsumer<Bulkhead>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, BulkheadConfig>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, BulkheadConfig>, List<RegistryEventConsumer<Bulkhead>>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, BulkheadConfig>, List<RegistryEventConsumer<Bulkhead>>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryBulkheadRegistry(Map<String, BulkheadConfig>, List<RegistryEventConsumer<Bulkhead>>, Map<String, String>, RegistryStore<Bulkhead>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry - Class in io.github.resilience4j.bulkhead.internal
-
Thread pool Bulkhead instance manager; Constructs/returns thread pool bulkhead instances.
- InMemoryThreadPoolBulkheadRegistry() - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
The constructor with default default.
- InMemoryThreadPoolBulkheadRegistry(ThreadPoolBulkheadConfig) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
-
The constructor with custom default config.
- InMemoryThreadPoolBulkheadRegistry(ThreadPoolBulkheadConfig, RegistryEventConsumer<ThreadPoolBulkhead>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(ThreadPoolBulkheadConfig, RegistryEventConsumer<ThreadPoolBulkhead>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(ThreadPoolBulkheadConfig, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(ThreadPoolBulkheadConfig, List<RegistryEventConsumer<ThreadPoolBulkhead>>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(ThreadPoolBulkheadConfig, List<RegistryEventConsumer<ThreadPoolBulkhead>>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, ThreadPoolBulkheadConfig>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, ThreadPoolBulkheadConfig>, RegistryEventConsumer<ThreadPoolBulkhead>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, ThreadPoolBulkheadConfig>, RegistryEventConsumer<ThreadPoolBulkhead>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, ThreadPoolBulkheadConfig>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, ThreadPoolBulkheadConfig>, List<RegistryEventConsumer<ThreadPoolBulkhead>>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, ThreadPoolBulkheadConfig>, List<RegistryEventConsumer<ThreadPoolBulkhead>>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- InMemoryThreadPoolBulkheadRegistry(Map<String, ThreadPoolBulkheadConfig>, List<RegistryEventConsumer<ThreadPoolBulkhead>>, Map<String, String>, RegistryStore<ThreadPoolBulkhead>) - Constructor for class io.github.resilience4j.bulkhead.internal.InMemoryThreadPoolBulkheadRegistry
- io.github.resilience4j.bulkhead - package io.github.resilience4j.bulkhead
- io.github.resilience4j.bulkhead.event - package io.github.resilience4j.bulkhead.event
- io.github.resilience4j.bulkhead.internal - package io.github.resilience4j.bulkhead.internal
- io.github.resilience4j.bulkhead.utils - package io.github.resilience4j.bulkhead.utils
- isCancelled() - Method in class io.github.resilience4j.bulkhead.Bulkhead.BulkheadFuture
- isDone() - Method in class io.github.resilience4j.bulkhead.Bulkhead.BulkheadFuture
- isFairCallHandlingEnabled() - Method in class io.github.resilience4j.bulkhead.BulkheadConfig
- isWritableStackTraceEnabled() - Method in class io.github.resilience4j.bulkhead.BulkheadConfig
- isWritableStackTraceEnabled() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
K
- keepAliveDuration(Duration) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
When the number of threads is greater than the core, this is the maximum time duration that excess idle threads will wait for new tasks before terminating.
M
- MAX_ALLOWED_CONCURRENT_CALLS - Static variable in class io.github.resilience4j.bulkhead.utils.MetricNames
- maxConcurrentCalls(int) - Method in class io.github.resilience4j.bulkhead.BulkheadConfig.Builder
-
Configures the max amount of concurrent calls the bulkhead will support.
- maxThreadPoolSize(int) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
Configures the max thread pool size.
- maxWaitDuration(Duration) - Method in class io.github.resilience4j.bulkhead.BulkheadConfig.Builder
-
Configures a maximum amount of time which the calling thread will wait to enter the bulkhead.
- MetricNames - Class in io.github.resilience4j.bulkhead.utils
O
- of(BulkheadConfig) - 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, Map<String, String>) - Static method in interface io.github.resilience4j.bulkhead.BulkheadRegistry
-
Creates a BulkheadRegistry with a custom Bulkhead configuration.
- 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(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(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, 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<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(String, Supplier<ThreadPoolBulkheadConfig>) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Creates a bulkhead with a custom configuration
- 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>, 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>, 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>, 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(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>, 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>, 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>, 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() - 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() - 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
- ofDefaults(String) - Static method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Create a Bulkhead with a default configuration.
- ofDefaults(String) - Static method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Create a Bulkhead with a default configuration.
- 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.
Q
- queueCapacity(int) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
Configures the capacity of the queue.
R
- rejectedExecutionHandler(RejectedExecutionHandler) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
Replaces the default
ThreadPoolExecutor.AbortPolicywith theRejectedExecutionHandlerprovided. - releasePermission() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Releases a permission and increases the number of available permits by one.
- releasePermission() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Releases a permission and increases the number of available permits by one.
S
- SemaphoreBulkhead - Class in io.github.resilience4j.bulkhead.internal
-
A Bulkhead implementation based on a semaphore.
- SemaphoreBulkhead(String) - Constructor for class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Creates a bulkhead with a default config.
- SemaphoreBulkhead(String, BulkheadConfig) - Constructor for class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Creates a bulkhead using a configuration supplied
- SemaphoreBulkhead(String, BulkheadConfig, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Creates a bulkhead using a configuration supplied
- SemaphoreBulkhead(String, Supplier<BulkheadConfig>) - Constructor for class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Create a bulkhead using a configuration supplier
- SemaphoreBulkhead(String, Supplier<BulkheadConfig>, Map<String, String>) - Constructor for class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Create a bulkhead using a configuration supplier
- submit(Runnable) - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Submits a task for execution to the ThreadPoolBulkhead and returns a
CompletionStagerepresenting the asynchronous computation of the task. - submit(Runnable) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Submits a task for execution to the ThreadPoolBulkhead and returns a
CompletionStagerepresenting the asynchronous computation of the task. - submit(Callable<T>) - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
-
Submits a value-returning task for execution and returns a
CompletionStagerepresenting the asynchronous computation of the task. - submit(Callable<T>) - Method in interface io.github.resilience4j.bulkhead.ThreadPoolBulkhead
-
Submits a value-returning task for execution and returns a
CompletionStagerepresenting the asynchronous computation of the task.
T
- ThreadPoolBulkhead - Interface in io.github.resilience4j.bulkhead
-
A Bulkhead instance is thread-safe can be used to decorate multiple requests.
- ThreadPoolBulkhead.Metrics - Interface in io.github.resilience4j.bulkhead
- ThreadPoolBulkhead.ThreadPoolBulkheadEventPublisher - Interface in io.github.resilience4j.bulkhead
-
An EventPublisher which can be used to register event consumers.
- ThreadPoolBulkheadConfig - Class in io.github.resilience4j.bulkhead
-
A
ThreadPoolBulkheadConfigconfigures aBulkhead - ThreadPoolBulkheadConfig.Builder - Class in io.github.resilience4j.bulkhead
- ThreadPoolBulkheadRegistry - Interface in io.github.resilience4j.bulkhead
-
The
ThreadPoolBulkheadRegistryis a factory to create ThreadPoolBulkhead instances which stores all bulkhead instances in a registry. - ThreadPoolBulkheadRegistry.Builder - Class in io.github.resilience4j.bulkhead
- toString() - Method in class io.github.resilience4j.bulkhead.BulkheadConfig
- toString() - Method in class io.github.resilience4j.bulkhead.event.BulkheadOnCallFinishedEvent
- toString() - Method in class io.github.resilience4j.bulkhead.event.BulkheadOnCallPermittedEvent
- toString() - Method in class io.github.resilience4j.bulkhead.event.BulkheadOnCallRejectedEvent
- toString() - Method in class io.github.resilience4j.bulkhead.internal.FixedThreadPoolBulkhead
- toString() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
- toString() - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig
- tryAcquirePermission() - Method in interface io.github.resilience4j.bulkhead.Bulkhead
-
Acquires a permission to execute a call, only if one is available at the time of invocation.
- tryAcquirePermission() - Method in class io.github.resilience4j.bulkhead.internal.SemaphoreBulkhead
-
Acquires a permission to execute a call, only if one is available at the time of invocation.
V
- valueOf(String) - Static method in enum io.github.resilience4j.bulkhead.event.BulkheadEvent.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.resilience4j.bulkhead.event.BulkheadEvent.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withBulkheadConfig(BulkheadConfig) - Method in class io.github.resilience4j.bulkhead.BulkheadRegistry.Builder
-
Configures a BulkheadRegistry with a custom default Bulkhead configuration.
- withRegistryStore(RegistryStore<Bulkhead>) - Method in class io.github.resilience4j.bulkhead.BulkheadRegistry.Builder
- withRegistryStore(RegistryStore<ThreadPoolBulkhead>) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry.Builder
- withTags(Map<String, String>) - Method in class io.github.resilience4j.bulkhead.BulkheadRegistry.Builder
-
Configures a BulkheadRegistry with Tags.
- withTags(Map<String, String>) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry.Builder
-
Configures a ThreadPoolBulkheadRegistry with Tags.
- withThreadPoolBulkheadConfig(ThreadPoolBulkheadConfig) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry.Builder
-
Configures a ThreadPoolBulkheadRegistry with a custom default ThreadPoolBulkhead configuration.
- writableStackTraceEnabled(boolean) - Method in class io.github.resilience4j.bulkhead.BulkheadConfig.Builder
-
Enables writable stack traces.
- writableStackTraceEnabled(boolean) - Method in class io.github.resilience4j.bulkhead.ThreadPoolBulkheadConfig.Builder
-
Enables writable stack traces.
All Classes|All Packages