Module io.helidon.faulttolerance
Package io.helidon.faulttolerance
Class BulkheadConfig.BuilderBase.BulkheadConfigImpl
java.lang.Object
io.helidon.faulttolerance.BulkheadConfig.BuilderBase.BulkheadConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<Bulkhead>
,BulkheadConfig
,Supplier<Bulkhead>
- Enclosing class:
BulkheadConfig.BuilderBase<BUILDER extends BulkheadConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends BulkheadConfig>
protected static class BulkheadConfig.BuilderBase.BulkheadConfigImpl
extends Object
implements BulkheadConfig, Supplier<Bulkhead>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.faulttolerance.BulkheadConfig
BulkheadConfig.Builder, BulkheadConfig.BuilderBase<BUILDER extends BulkheadConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends BulkheadConfig> -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default limit.static final int
Default queue lengths. -
Constructor Summary
ModifierConstructorDescriptionprotected
BulkheadConfigImpl
(BulkheadConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Field Details
-
DEFAULT_LIMIT
static final int DEFAULT_LIMITDefault limit.- See Also:
-
DEFAULT_QUEUE_LENGTH
static final int DEFAULT_QUEUE_LENGTHDefault queue lengths.- See Also:
-
-
Constructor Details
-
BulkheadConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<Bulkhead>
- Returns:
- new configured runtime instance
-
get
-
limit
public int limit() -
queueLength
public int queueLength() -
queueListeners
-
name
-
toString
-
equals
-
hashCode
public int hashCode()
-