Interface OMMonitor
- All Superinterfaces:
OMMonitorProgress
- All Known Implementing Classes:
AbstractMonitor,DelegatingMonitor,EclipseMonitor,Monitor,NestedMonitor,NotifyingMonitor,TimeoutMonitor
- 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 Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final intFields inherited from interface org.eclipse.net4j.util.om.monitor.OMMonitorProgress
HUNDRED, ONE, TEN, ZERO -
Method Summary
Modifier and TypeMethodDescriptionbegin()Same as callingbegin(ONE).begin(double totalWork) voidvoiddone()fork()Same as callingfork(ONE).fork(double work) Same as callingforkAsync(ONE).forkAsync(double work) booleanhasBegun()booleanvoidworked()Same as callingworked(ONE).voidworked(double work) Methods inherited from interface org.eclipse.net4j.util.om.monitor.OMMonitorProgress
getTotalWork, getWork, getWorkPercent
-
Field Details
-
THOUSAND
static final int THOUSAND- Since:
- 2.0
- See Also:
-
DEFAULT_TIME_FACTOR
static final double DEFAULT_TIME_FACTOR- Since:
- 2.0
- See Also:
-
-
Method Details
-
isCanceled
boolean isCanceled()- Since:
- 2.0
-
checkCanceled
- Throws:
MonitorCanceledException- Since:
- 2.0
-
hasBegun
- Throws:
MonitorCanceledException- Since:
- 2.0
-
begin
- Throws:
MonitorCanceledException- Since:
- 2.0
-
begin
Same as callingbegin(ONE).- Throws:
MonitorCanceledException- Since:
- 2.0
-
worked
- Throws:
MonitorCanceledException- Since:
- 2.0
-
worked
Same as callingworked(ONE).- Throws:
MonitorCanceledException- Since:
- 2.0
-
fork
- Since:
- 2.0
-
fork
OMMonitor fork()Same as callingfork(ONE).- Since:
- 2.0
-
forkAsync
- Since:
- 2.0
-
forkAsync
OMMonitor.Async forkAsync()Same as callingforkAsync(ONE).- Since:
- 2.0
-
done
void done()- Since:
- 2.0
-