Klasse AbstractMonitor
java.lang.Object
org.eclipse.net4j.util.om.monitor.AbstractMonitor
- Alle implementierten Schnittstellen:
OMMonitor,OMMonitorProgress
- Bekannte direkte Unterklassen:
Monitor,NestedMonitor
- Seit:
- 2.0
- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.om.monitor.OMMonitor
OMMonitor.Async, OMMonitor.AsyncMonitor -
Feldübersicht
Von Schnittstelle geerbte Felder org.eclipse.net4j.util.om.monitor.OMMonitor
DEFAULT_TIME_FACTOR, THOUSANDVon Schnittstelle geerbte Felder org.eclipse.net4j.util.om.monitor.OMMonitorProgress
HUNDRED, ONE, TEN, ZERO -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbegin()Same as callingbegin(ONE).begin(double totalWork) protected AbstractMonitor.AsyncTimerTaskcreateAsyncTimerTask(double work) protected OMMonitorcreateNestedMonitor(double work) voiddone()fork()Same as callingfork(ONE).fork(double work) Same as callingforkAsync(ONE).forkAsync(double work) protected abstract longprotected abstract TimergetTimer()doubledoublegetWork()doublebooleanhasBegun()protected static doublepercent(double part, double whole) protected abstract voidscheduleAtFixedRate(TimerTask task, long delay, long period) voidworked()Same as callingworked(ONE).voidworked(double work) Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.om.monitor.OMMonitor
checkCanceled, isCanceled
-
Konstruktordetails
-
AbstractMonitor
public AbstractMonitor()
-
-
Methodendetails
-
hasBegun
- Angegeben von:
hasBegunin SchnittstelleOMMonitor- Löst aus:
MonitorCanceledException
-
begin
- Angegeben von:
beginin SchnittstelleOMMonitor- Löst aus:
MonitorCanceledException
-
begin
Beschreibung aus Schnittstelle kopiert:OMMonitorSame as callingbegin(ONE).- Angegeben von:
beginin SchnittstelleOMMonitor- Löst aus:
MonitorCanceledException
-
worked
- Angegeben von:
workedin SchnittstelleOMMonitor- Löst aus:
MonitorCanceledException
-
worked
Beschreibung aus Schnittstelle kopiert:OMMonitorSame as callingworked(ONE).- Angegeben von:
workedin SchnittstelleOMMonitor- Löst aus:
MonitorCanceledException
-
fork
-
fork
Beschreibung aus Schnittstelle kopiert:OMMonitorSame as callingfork(ONE). -
forkAsync
-
forkAsync
Beschreibung aus Schnittstelle kopiert:OMMonitorSame as callingforkAsync(ONE). -
done
public void done() -
getTotalWork
public double getTotalWork()- Angegeben von:
getTotalWorkin SchnittstelleOMMonitorProgress
-
getWork
public double getWork()- Angegeben von:
getWorkin SchnittstelleOMMonitorProgress
-
getWorkPercent
public double getWorkPercent()- Angegeben von:
getWorkPercentin SchnittstelleOMMonitorProgress
-
createNestedMonitor
-
createAsyncTimerTask
-
getAsyncSchedulePeriod
protected abstract long getAsyncSchedulePeriod() -
getTimer
-
scheduleAtFixedRate
- Seit:
- 3.0
-
percent
protected static double percent(double part, double whole) - Seit:
- 3.1
-