|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
util.ObjectRefresh.RefreshTask
protected static class ObjectRefresh.RefreshTask
A timer tasks that runs a Refreshing instance.
| Field Summary | |
|---|---|
private Refreshing |
schedule
The Refreshing instance to be scheduled. |
| Constructor Summary | |
|---|---|
protected |
ObjectRefresh.RefreshTask(Refreshing refresh)
Constructs a new refresh task for the specified Refreshing
instance. |
| Method Summary | |
|---|---|
boolean |
equals(Object compare)
For comparison, we consider two refresh tasks equal if they link to the same Refreshing instance. |
int |
hashCode()
For putting objects in hast tables, we return the hash code of the Refreshing instance linked to this task. |
void |
run()
Runs the refresh task. |
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Refreshing schedule
Refreshing instance to be scheduled.
| Constructor Detail |
|---|
protected ObjectRefresh.RefreshTask(Refreshing refresh)
Refreshing
instance.
| Method Detail |
|---|
public void run()
Refreshing.refresh() method is
called. If the Refreshing instance implements
ConditionalRefreshing, the condition is checked before
refreshing is commenced.
run in interface Runnablerun in class TimerTaskpublic boolean equals(Object compare)
Refreshing instance.
equals in class Objectpublic int hashCode()
Refreshing instance linked to this task.
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||