public class ThreadSuspendable extends Object implements ISuspendable
SUSPENDABLE| Constructor and Description |
|---|
ThreadSuspendable() |
public void suspend(IFuture<?> future, long timeout)
suspend in interface ISuspendabletimeout - The timeout.future - The future to wait for.public void resume(IFuture<?> future)
resume in interface ISuspendablefuture - The future that issues the resume.public Object getMonitor()
getMonitor in interface ISuspendableCopyright © 2013. All Rights Reserved.