public abstract class PeriodicalTaskPerformer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static long |
MIN_UPDATE_GAP
Minimal gap between two calls of taskDefinition().
|
protected long |
timeOfLastUpdate
Time of last call of taskDefinition().
|
| Constructor and Description |
|---|
PeriodicalTaskPerformer()
Creates a new instance of PeriodicalTaskPerformer
|
| Modifier and Type | Method and Description |
|---|---|
void |
performTask()
Call this method if you want your task to be performed.
|
protected abstract void |
taskDefinition()
Definition of task to be performed.
|
protected static long MIN_UPDATE_GAP
protected long timeOfLastUpdate
public PeriodicalTaskPerformer()
public void performTask()
protected abstract void taskDefinition()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.