クラス ExecutorServiceUtils
java.lang.Object
org.nkjmlab.util.java.concurrent.ExecutorServiceUtils
-
コンストラクタの概要
-
メソッドの概要
修飾子とタイプメソッド説明static void
keepAwaitingTermination
(ExecutorService executorService) static ScheduledFuture<?>
scheduleWithFixedDelay
(ScheduledExecutorService srv, Runnable command, long initialDelay, long delay, TimeUnit unit) static boolean
shutdownAndAwaitTermination
(ExecutorService executorService, long timeout, TimeUnit unit) static void
shutdownAndKeepAwaitingTermination
(ExecutorService executorService) shutdownNowAfterAwaiting
(ExecutorService executorService, long timeout, TimeUnit unit)
-
コンストラクタの詳細
-
ExecutorServiceUtils
public ExecutorServiceUtils()
-
-
メソッドの詳細
-
shutdownAndAwaitTermination
public static boolean shutdownAndAwaitTermination(ExecutorService executorService, long timeout, TimeUnit unit) -
shutdownAndKeepAwaitingTermination
-
keepAwaitingTermination
-
shutdownNowAfterAwaiting
public static List<Runnable> shutdownNowAfterAwaiting(ExecutorService executorService, long timeout, TimeUnit unit) -
scheduleWithFixedDelay
public static ScheduledFuture<?> scheduleWithFixedDelay(ScheduledExecutorService srv, Runnable command, long initialDelay, long delay, TimeUnit unit)
-