public interface AgentCacheState
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)
.
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2000-2014. All Rights Reserved.