Package dev.tachyonmcp.api.server.config
Interface RuntimeConfig
@Immutable
public interface RuntimeConfig
Handler-execution runtime configuration: settings governing how in-flight handlers are drained
on shutdown. Distinct from the executor/thread-factory wiring, which is injected on the
builder; this type holds only runtime data.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeConfig.Builderbuilder()default DurationTimeout for pending requests sent to the client (default 60s).default DurationTime an owned executor is given to drain in-flight handlers onclose()before they are force-interrupted (default 5s).
-
Field Details
-
DEFAULT_REQUEST_TIMEOUT
-
DEFAULT
-
-
Method Details
-
shutdownGracePeriod
Time an owned executor is given to drain in-flight handlers onclose()before they are force-interrupted (default 5s).Duration.ZEROinterrupts running handlers immediately. -
requestTimeout
Timeout for pending requests sent to the client (default 60s). -
builder
-