@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Inherited
public @interface Bulkhead
If this is used together with Asynchronous, it means thread isolation.
Otherwise, it means semaphore isolation.
value(),
waitingTaskQueue()| Modifier and Type | Optional Element and Description |
|---|---|
int |
value
Specify the maximum number of concurrent calls to an instance.
|
int |
waitingTaskQueue
Specify the waiting task queue.
|
public abstract int value
FaultToleranceDefinitionException occurs.public abstract int waitingTaskQueue
Asynchronous.
The value must be greater than 0.
Otherwise, FaultToleranceDefinitionException occurs.