Package | Description |
---|---|
dev.failsafe |
APIs for performing failsafe executions.
|
Modifier and Type | Method and Description |
---|---|
static <R> BulkheadBuilder<R> |
Bulkhead.builder(BulkheadConfig<R> config)
Creates a new BulkheadBuilder that will be based on the
config . |
static <R> BulkheadBuilder<R> |
Bulkhead.builder(int maxConcurrency)
Returns a Bulkhead for the
maxConcurrency that has zero
wait . |
BulkheadBuilder<R> |
BulkheadBuilder.withMaxWaitTime(Duration maxWaitTime)
Configures the
maxWaitTime to wait for permits to be available. |
Copyright © 2022. All rights reserved.