Constructor and Description |
---|
SimpleExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Runnable command) |
void |
shutdown() |
void |
shutdownAndWait(long timeout) |
void |
startThreads(int nrThreads) |
public void startThreads(int nrThreads)
public void shutdown()
public void shutdownAndWait(long timeout) throws InterruptedException
InterruptedException
Copyright © 2014. All rights reserved.