com.liferay.portal.kernel.concurrent.test
Class TestUtil
java.lang.Object
com.liferay.portal.kernel.concurrent.test.TestUtil
public class TestUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEEPALIVE_TIME
public static final long KEEPALIVE_TIME
- See Also:
- Constant Field Values
KEEPALIVE_WAIT
public static final long KEEPALIVE_WAIT
- See Also:
- Constant Field Values
LONG_WAIT
public static final long LONG_WAIT
- See Also:
- Constant Field Values
SHORT_WAIT
public static final long SHORT_WAIT
- See Also:
- Constant Field Values
TestUtil
public TestUtil()
closePool
public static void closePool(ThreadPoolExecutor threadPoolExecutor)
closePool
public static void closePool(ThreadPoolExecutor threadPoolExecutor,
boolean force)
unblock
public static void unblock(MarkerBlockingJob... markerBlockingJobs)
waitUntilBlock
public static void waitUntilBlock(MarkerBlockingJob... markerBlockingJobs)
throws InterruptedException
- Throws:
InterruptedException
waitUntilEnded
public static void waitUntilEnded(MarkerBlockingJob... markerBlockingJobs)
throws InterruptedException
- Throws:
InterruptedException