@Override public void cancel() { // flag the main thread to exit. A thread interrupt will come anyways. running = false; handover.close(); consumerThread.shutdown(); }
@Override public void cancel() { // flag the main thread to exit. A thread interrupt will come anyways. running = false; handover.close(); consumerThread.shutdown(); }
consumerThread.shutdown();
consumerThread.shutdown();
@Override public void cancel() { // flag the main thread to exit. A thread interrupt will come anyways. running = false; handover.close(); consumerThread.shutdown(); }
@Override public void cancel() { // flag the main thread to exit. A thread interrupt will come anyways. running = false; handover.close(); consumerThread.shutdown(); }
consumerThread.shutdown();
consumerThread.shutdown();