public static class SmartCacheTest.ThreadingHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit) |
void |
execute(java.lang.Runnable runnable) |
int |
getCurrentWorkQueueSize() |
static SmartCacheTest.ThreadingHelper |
instance() |
void |
shutdown() |
java.util.List<java.lang.Runnable> |
shutdownNow() |
public static SmartCacheTest.ThreadingHelper instance()
public void execute(java.lang.Runnable runnable)
public int getCurrentWorkQueueSize()
public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public java.util.List<java.lang.Runnable> shutdownNow()
public void shutdown()