-
public final class ConcurrencyKt
-
-
Method Summary
Modifier and Type Method Description final static UnitstopExecution(ExecutorService executor, Future<?> future, Boolean shutdown)Stops the ExecutorService and if shutdownExecutorOnStop is true then shuts down its thread of execution. -
-
Method Detail
-
stopExecution
final static Unit stopExecution(ExecutorService executor, Future<?> future, Boolean shutdown)
Stops the ExecutorService and if shutdownExecutorOnStop is true then shuts down its thread of execution. Uses the shutdown pattern from http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html
-
-
-
-