org.eigenbase.util
Class CancelFlag
java.lang.Object
org.eigenbase.util.CancelFlag
public class CancelFlag
- extends Object
CancelFlag is used to post and check cancellation requests.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/util/CancelFlag.java#4 $
- Author:
- John Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cancelRequested
private boolean cancelRequested
CancelFlag
public CancelFlag()
isCancelRequested
public boolean isCancelRequested()
- Returns:
- whether a cancellation has been requested
requestCancel
public void requestCancel()
- Requests a cancellation.
clearCancel
public void clearCancel()
- Clears any pending cancellation request.