public class BulkheadConfig
extends java.lang.Object
BulkheadConfig
configures a Bulkhead
Modifier and Type | Class and Description |
---|---|
static class |
BulkheadConfig.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CONCURRENT_CALLS |
static long |
DEFAULT_MAX_WAIT_TIME |
Modifier and Type | Method and Description |
---|---|
static BulkheadConfig.Builder |
custom()
Returns a builder to create a custom BulkheadConfig.
|
int |
getMaxConcurrentCalls() |
long |
getMaxWaitTime() |
static BulkheadConfig |
ofDefaults()
Creates a default Bulkhead configuration.
|
public static final int DEFAULT_MAX_CONCURRENT_CALLS
public static final long DEFAULT_MAX_WAIT_TIME
public int getMaxConcurrentCalls()
public long getMaxWaitTime()
public static BulkheadConfig.Builder custom()
BulkheadConfig.Builder
public static BulkheadConfig ofDefaults()