Class RuntimeConfig.Builder

java.lang.Object
dev.tachyonmcp.api.server.config.RuntimeConfig.Builder
Enclosing interface:
RuntimeConfig

public abstract static class RuntimeConfig.Builder extends Object
Builder for RuntimeConfig.
  • Method Details

    • shutdownGracePeriod

      public abstract RuntimeConfig.Builder shutdownGracePeriod(Duration shutdownGracePeriod)
      Sets the shutdown grace period: how long an owned executor is given to drain in-flight handlers on close() before they are force-interrupted. Duration.ZERO interrupts running handlers immediately.
    • requestTimeout

      public abstract RuntimeConfig.Builder requestTimeout(Duration requestTimeout)
      Sets the timeout for pending requests sent to the client (default 60s).
    • build

      public abstract RuntimeConfig build()
      Builds the RuntimeConfig.