public interface OMMonitor extends OMMonitorProgress
Modifier and Type | Interface and Description |
---|---|
static interface |
OMMonitor.Async |
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_TIME_FACTOR |
static int |
THOUSAND |
HUNDRED, ONE, TEN, ZERO
Modifier and Type | Method and Description |
---|---|
OMMonitor |
begin()
Same as calling
begin(ONE) . |
OMMonitor |
begin(double totalWork) |
void |
checkCanceled() |
void |
done() |
OMMonitor |
fork()
Same as calling
fork(ONE) . |
OMMonitor |
fork(double work) |
OMMonitor.Async |
forkAsync()
Same as calling
forkAsync(ONE) . |
OMMonitor.Async |
forkAsync(double work) |
boolean |
hasBegun() |
boolean |
isCanceled() |
void |
worked()
Same as calling
worked(ONE) . |
void |
worked(double work) |
getTotalWork, getWork, getWorkPercent
static final int THOUSAND
static final double DEFAULT_TIME_FACTOR
boolean isCanceled()
void checkCanceled() throws MonitorCanceledException
MonitorCanceledException
boolean hasBegun() throws MonitorCanceledException
MonitorCanceledException
OMMonitor begin(double totalWork) throws MonitorCanceledException
MonitorCanceledException
OMMonitor begin() throws MonitorCanceledException
begin(ONE)
.MonitorCanceledException
void worked(double work) throws MonitorCanceledException
MonitorCanceledException
void worked() throws MonitorCanceledException
worked(ONE)
.MonitorCanceledException
OMMonitor fork(double work)
OMMonitor fork()
fork(ONE)
.OMMonitor.Async forkAsync(double work)
OMMonitor.Async forkAsync()
forkAsync(ONE)
.void done()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html