|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.module.sitemesh.mapper.ConfigLoader.State
private static class ConfigLoader.State
State visibile across threads stored in a single container so that we can efficiently atomically access it with the guarantee that we wont see a partially loaded configuration in the face of one thread reloading the configuration while others are trying to read it.
Field Summary | |
---|---|
(package private) boolean |
checking
Whether a thread is currently checking if the configuration file has been modified and potentially reloading it and therefore others shouldn't attempt the same till it's done. |
(package private) java.util.Map |
decorators
|
(package private) long |
lastModificationCheck
Timestamp of the last time we checked for an update to the configuration file used to rate limit the frequency at which we check for efficiency. |
(package private) long |
lastModified
Timestamp of the modification time of the configuration file when we generated the state. |
(package private) PathMapper |
pathMapper
|
Constructor Summary | |
---|---|
private |
ConfigLoader.State()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
long lastModificationCheck
long lastModified
boolean checking
java.util.Map decorators
PathMapper pathMapper
Constructor Detail |
---|
private ConfigLoader.State()
|
www.opensymphony.com/sitemesh/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |