Interface OMMonitor
- 
- All Superinterfaces:
- OMMonitorProgress
 - All Known Implementing Classes:
- AbstractMonitor,- DelegatingMonitor,- EclipseMonitor,- Monitor,- NestedMonitor,- NotifyingMonitor,- TimeoutMonitor
 
 public interface OMMonitor extends OMMonitorProgress - Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceOMMonitor.Async
 - 
Field SummaryFields Modifier and Type Field Description static doubleDEFAULT_TIME_FACTORstatic intTHOUSAND- 
Fields inherited from interface org.eclipse.net4j.util.om.monitor.OMMonitorProgressHUNDRED, ONE, TEN, ZERO
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description OMMonitorbegin()Same as callingbegin(ONE).OMMonitorbegin(double totalWork)voidcheckCanceled()voiddone()OMMonitorfork()Same as callingfork(ONE).OMMonitorfork(double work)OMMonitor.AsyncforkAsync()Same as callingforkAsync(ONE).OMMonitor.AsyncforkAsync(double work)booleanhasBegun()booleanisCanceled()voidworked()Same as callingworked(ONE).voidworked(double work)- 
Methods inherited from interface org.eclipse.net4j.util.om.monitor.OMMonitorProgressgetTotalWork, getWork, getWorkPercent
 
- 
 
- 
- 
- 
Field Detail- 
THOUSANDstatic final int THOUSAND - Since:
- 2.0
- See Also:
- Constant Field Values
 
 - 
DEFAULT_TIME_FACTORstatic final double DEFAULT_TIME_FACTOR - Since:
- 2.0
- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isCanceledboolean isCanceled() - Since:
- 2.0
 
 - 
checkCanceledvoid checkCanceled() throws MonitorCanceledException- Throws:
- MonitorCanceledException
- Since:
- 2.0
 
 - 
hasBegunboolean hasBegun() throws MonitorCanceledException- Throws:
- MonitorCanceledException
- Since:
- 2.0
 
 - 
beginOMMonitor begin(double totalWork) throws MonitorCanceledException - Throws:
- MonitorCanceledException
- Since:
- 2.0
 
 - 
beginOMMonitor begin() throws MonitorCanceledException Same as callingbegin(ONE).- Throws:
- MonitorCanceledException
- Since:
- 2.0
 
 - 
workedvoid worked(double work) throws MonitorCanceledException- Throws:
- MonitorCanceledException
- Since:
- 2.0
 
 - 
workedvoid worked() throws MonitorCanceledExceptionSame as callingworked(ONE).- Throws:
- MonitorCanceledException
- Since:
- 2.0
 
 - 
forkOMMonitor fork(double work) - Since:
- 2.0
 
 - 
forkOMMonitor fork() Same as callingfork(ONE).- Since:
- 2.0
 
 - 
forkAsyncOMMonitor.Async forkAsync(double work) - Since:
- 2.0
 
 - 
forkAsyncOMMonitor.Async forkAsync() Same as callingforkAsync(ONE).- Since:
- 2.0
 
 - 
donevoid done() - Since:
- 2.0
 
 
- 
 
-