R
- result typepublic class BulkheadConfig<R> extends PolicyConfig<R>
Bulkhead
.Modifier and Type | Method and Description |
---|---|
int |
getMaxConcurrency()
Returns that max concurrent executions that are permitted within the bulkhead.
|
Duration |
getMaxWaitTime()
Returns the max time to wait for permits to be available.
|
getFailureListener, getSuccessListener
public int getMaxConcurrency()
Bulkhead.builder(int)
public Duration getMaxWaitTime()
BulkheadFullException
.
This setting only applies when the Bulkhead is used with the Failsafe
class. It does not apply when the
Bulkhead is used in a standalone way.
Copyright © 2022. All rights reserved.