|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AgentCacheState
Simplistic model of remote file caches.
This tracks the state of all the caches, so getOutOfDate() will
return true if any one of the caches is out of date. For per
cache information, see AgentSet.getAddressOfOutOfDateAgents(long).
| Method Summary | |
|---|---|
void |
addListener(PropertyChangeListener listener)
Allow other parties to register their interest in changes to our state. |
boolean |
getOutOfDate()
Enquire whether one or more agent caches is out of date. |
void |
setNewFileTime(long time)
Inform that agent caches are out of date due to a change to a file. |
| Method Detail |
|---|
boolean getOutOfDate()
true => at least one agent cache is out of date.void setNewFileTime(long time)
time - Caches need to be refreshed with files newer than this time
(milliseconds since Epoch).void addListener(PropertyChangeListener listener)
listener - Listener to notify on a state change.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||