}
public static void main(String[] args) {
// need to test the method in a concurrent environment,
// A therefore the use of a thread pool
ThreadPoolDefinition def = new ThreadPoolDefinition();
def.setBounded(true);
def.setMaxSize(10);
def.setMinSize(2);
def.setInitSize(2);
def.setKeepAliveTime(6000);
def.setWaitWhenBlocked(true);
AsynchronousManager.getInstance().initialize(def);
final Target target = new Target();
for (int i = 0; i < 2; i++) {
AsynchronousManager.getInstance().execute(new Runnable() {