| Constructor and Description |
|---|
BuildHandler(RouterContext ctx,
TunnelPoolManager manager,
BuildExecutor exec)BuildHandler. |
| Modifier and Type | Method and Description |
|---|---|
int | getInboundBuildQueueSize() |
static int | getMaxQueue() |
(package private) void | init()Call the same time you start the threads |
void | restart() |
void | run()Thread to handle inbound requests |
static void | setMaxQueue(int val) |
void | shutdown(int numThreads)Cannot be restarted. |
public BuildHandler(RouterContext ctx, TunnelPoolManager manager, BuildExecutor exec)
public int getInboundBuildQueueSize()
public static int getMaxQueue()
void init()
public void restart()
public static void setMaxQueue(int val)
public void shutdown(int numThreads)
numThreads - the number of threads to be shut down