List of usage examples for io.netty.util.concurrent EventExecutorGroup terminationFuture
Future<?> terminationFuture();
From source file:org.apache.giraph.utils.ProgressableUtils.java
License:Apache License
/** * Wait for executorgroup to terminate, while periodically reporting progress * * @param group ExecutorGroup whose termination we are awaiting * @param progressable Progressable for reporting progress (Job context) *///from w ww . j a va 2 s .co m public static void awaitTerminationFuture(EventExecutorGroup group, Progressable progressable) { waitForever(new FutureWaitable<>(group.terminationFuture()), progressable); }