java.lang.Object
net.i2p.i2ptunnel.TunnelControllerGroup.ServerHandler
- Enclosing class:
TunnelControllerGroup
Per-tunnel server-handler pool state: the explicit per-tunnel cap (or -1 for the Tuner-managed default) and the lazily created executor.
Field Summary
FieldsModifier and TypeFieldDescription(package private) ThreadPoolExecutorThe per-tunnel handler pool, created on first use; null until then.(package private) intThe per-tunnel server-handler cap, or -1 for the Tuner-managed default.Constructor Summary
ConstructorsMethod Summary
Field Details
override
volatile int overrideThe per-tunnel server-handler cap, or -1 for the Tuner-managed default.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