java.lang.Object
net.i2p.i2ptunnel.TunnelControllerGroup.ServerHandler
Enclosing class:
TunnelControllerGroup

static class TunnelControllerGroup.ServerHandlerextends Object
Per-tunnel server-handler pool state: the explicit per-tunnel cap (or -1 for the Tuner-managed default) and the lazily created executor.
  • Field Details

    • override

      volatile int override
      The per-tunnel server-handler cap, or -1 for the Tuner-managed default.
    • executor

      volatile ThreadPoolExecutor executor
      The per-tunnel handler pool, created on first use; null until then.
  • Constructor Details

    • ServerHandler

      ServerHandler(int override)
      Creates the holder without a pool.
      Parameters:
      override - the per-tunnel server-handler cap, or -1 for the Tuner-managed default