com.liferay.portal.kernel.concurrent.test
Class MarkerBlockingJob
java.lang.Object
com.liferay.portal.kernel.concurrent.test.MarkerBlockingJob
- All Implemented Interfaces:
- Runnable
public class MarkerBlockingJob
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkerBlockingJob
public MarkerBlockingJob()
MarkerBlockingJob
public MarkerBlockingJob(boolean blocking)
MarkerBlockingJob
public MarkerBlockingJob(boolean blocking,
boolean throwException)
getRunThread
public Thread getRunThread()
isEnded
public boolean isEnded()
isInterrupted
public boolean isInterrupted()
isStarted
public boolean isStarted()
run
public void run()
- Specified by:
run in interface Runnable
unBlock
public void unBlock()
waitUntilBlock
public void waitUntilBlock()
throws InterruptedException
- Throws:
InterruptedException
waitUntilEnded
public void waitUntilEnded()
throws InterruptedException
- Throws:
InterruptedException