public class TestUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
KEEPALIVE_TIME |
static long |
KEEPALIVE_WAIT |
static long |
LONG_WAIT |
static long |
SHORT_WAIT |
| Constructor and Description |
|---|
TestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closePool(com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor) |
static void |
closePool(com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor,
boolean force) |
static void |
unblock(MarkerBlockingJob... markerBlockingJobs) |
static void |
waitUntilBlock(MarkerBlockingJob... markerBlockingJobs) |
static void |
waitUntilEnded(MarkerBlockingJob... markerBlockingJobs) |
public static final long KEEPALIVE_TIME
public static final long KEEPALIVE_WAIT
public static final long LONG_WAIT
public static final long SHORT_WAIT
public static void closePool(com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor)
public static void closePool(com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor,
boolean force)
public static void unblock(MarkerBlockingJob... markerBlockingJobs)
public static void waitUntilBlock(MarkerBlockingJob... markerBlockingJobs) throws InterruptedException
InterruptedExceptionpublic static void waitUntilEnded(MarkerBlockingJob... markerBlockingJobs) throws InterruptedException
InterruptedException