クラス ExecutorServiceUtils
- java.lang.Object
-
- org.nkjmlab.util.java.concurrent.ExecutorServiceUtils
-
public class ExecutorServiceUtils extends Object
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ExecutorServiceUtils()
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 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)
static List<Runnable>
shutdownNowAfterAwaiting(ExecutorService executorService, long timeout, TimeUnit unit)
-
-
-
メソッドの詳細
-
shutdownAndAwaitTermination
public static boolean shutdownAndAwaitTermination(ExecutorService executorService, long timeout, TimeUnit unit)
-
shutdownAndKeepAwaitingTermination
public static void shutdownAndKeepAwaitingTermination(ExecutorService executorService)
-
keepAwaitingTermination
public static void keepAwaitingTermination(ExecutorService executorService)
-
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)
-
-