-
- All Superinterfaces:
FtHandler
public interface Bulkhead extends FtHandler
Bulkhead protects a resource that cannot serve unlimited parallel requests.When the limit of parallel execution is reached, requests are enqueued until the queue length is reached. Once both the limit and queue are full, additional attempts to invoke will end with a failed response with
BulkheadException.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBulkhead.BuilderFluent API builder forBulkhead.
-
Method Summary
Static Methods Modifier and Type Method Description static Bulkhead.Builderbuilder()A new builder forBulkhead.-
Methods inherited from interface io.helidon.faulttolerance.FtHandler
invoke, invokeMulti
-
-
-
-
Method Detail
-
builder
static Bulkhead.Builder builder()
A new builder forBulkhead.- Returns:
- a new builder
-
-