Package dev.tachyonmcp.api.server.config
Class RuntimeConfig.Builder
java.lang.Object
dev.tachyonmcp.api.server.config.RuntimeConfig.Builder
- Enclosing interface:
RuntimeConfig
Builder for
RuntimeConfig.-
Method Summary
Modifier and TypeMethodDescriptionabstract RuntimeConfigbuild()Builds theRuntimeConfig.abstract RuntimeConfig.BuilderrequestTimeout(Duration requestTimeout) Sets the timeout for pending requests sent to the client (default 60s).abstract RuntimeConfig.BuildershutdownGracePeriod(Duration shutdownGracePeriod) Sets the shutdown grace period: how long an owned executor is given to drain in-flight handlers onclose()before they are force-interrupted.
-
Method Details
-
shutdownGracePeriod
Sets the shutdown grace period: how long an owned executor is given to drain in-flight handlers onclose()before they are force-interrupted.Duration.ZEROinterrupts running handlers immediately. -
requestTimeout
Sets the timeout for pending requests sent to the client (default 60s). -
build
Builds theRuntimeConfig.
-