Interface MessagingExecutionConfig
- All Superinterfaces:
Prototype.Api
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forMessagingExecutionConfig.static classMessagingExecutionConfig.BuilderBase<BUILDER extends MessagingExecutionConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingExecutionConfig>Fluent API builder base forMessagingExecutionConfig. -
Method Summary
Modifier and TypeMethodDescriptionOptional positive maximum time to wait for capacity, representable in nanoseconds.builder()Create a new fluent API builder to customize configuration.builder(MessagingExecutionConfig instance) Create a new fluent API builder from an existing instance.static MessagingExecutionConfigcreate()Create a new instance with default values.static MessagingExecutionConfigCreate a new instance from configuration.Positive maximum number of admitted messages.Positive maximum number of callers waiting for blocking admission and open connector reservations.Positive maximum total messages retained by waiting callers and open connector reservations.Maximum number of admitted tasks that may wait for an execution slot; must be zero or greater.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
queueCapacity
Maximum number of admitted tasks that may wait for an execution slot; must be zero or greater.Zero disables internal buffering; callers may still wait before admission, subject to
maxPendingAdmissions().- Returns:
- queue capacity
-
maxPendingAdmissions
Positive maximum number of callers waiting for blocking admission and open connector reservations.Waiting callers retain their own delivery until capacity becomes available. A connector reservation retains one permit from reservation until it is started or closed, including while the connector acquires transport data. Immediately admitted callers do not consume this budget.
- Returns:
- maximum pending admissions
-
maxPendingMessages
Positive maximum total messages retained by waiting callers and open connector reservations.An open connector reservation retains its declared maximum while the connector may acquire transport data. Immediately admissible caller deliveries do not consume this budget. A delivery that cannot fit is rejected instead of parking while retaining unaccounted messages.
- Returns:
- maximum pending messages
-
maxInFlightMessages
-
admissionTimeout
Optional positive maximum time to wait for capacity, representable in nanoseconds.For a two-phase connector delivery, capacity-wait time while reserving and starting shares this single budget; transport acquisition time between those phases is excluded.
- Returns:
- admission timeout
-