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