|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.TimerTask org.eclipse.emf.emfstore.internal.client.model.util.PeriodicProjectSpaceTask
public abstract class PeriodicProjectSpaceTask
Class that enables to decorate a ProjectSpace
with a task
that gets executed periodically.
Constructor Summary | |
---|---|
PeriodicProjectSpaceTask(ProjectSpace projectSpace,
long interval)
Constructor. |
Method Summary | |
---|---|
long |
getInterval()
Returns the interval in which the task is executed. |
ProjectSpace |
getProjectSpace()
Returns the decorated ProjectSpace . |
void |
start()
Starts the task. |
void |
stop()
Stops the task. |
Methods inherited from class java.util.TimerTask |
---|
cancel, run, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PeriodicProjectSpaceTask(ProjectSpace projectSpace, long interval)
projectSpace
- the ProjectSpace
that should get decoratedinterval
- the periodic interval in which the task gets executedMethod Detail |
---|
public void start()
public void stop()
public ProjectSpace getProjectSpace()
ProjectSpace
.
public long getInterval()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |