当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.0
Cancellable (NetBeans Utilities API) - NetBeans API Javadoc 5.5.0
org.openide.util
Interface Cancellable
- All Known Implementing Classes:
- RequestProcessor.Task
public interface Cancellable
Service provider interface (SPI) for adding cancel support to various jobs.
Note that cancel()
method will be typically called concurrently to
other methods of job or operation in question, so proper synchronization
is needed.
- Since:
- 3.36
Method Summary |
boolean |
cancel()
Cancel processing of the job. |
cancel
boolean cancel()
- Cancel processing of the job. Called not more then once for specific job.
- Returns:
- true if the job was succesfully cancelled, false if job
can't be cancelled for some reason