FutureTask<Long> asyncFutureTask = new FutureTask<>(new Callable<Long>() {
@Override
public Long call() throws Exception {
Stopwatch stopwatch = new Stopwatch();
stopwatch.start();
asyncServerSocket.startServer();
stopwatch.stop();
return stopwatch.elapsedMillis();
}
});
System.out.println("Starting the AsyncSocketServer Test");