|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A source of MapFromXML objects.
Method Summary | |
MapFromXML |
allocateMapFromXML()
Obtain a current mapper. |
void |
pollSoon()
Check for a change in the configuration next time allocateMapFromXML() is called,
regardless of the currently acceptable staleness. |
void |
releaseMapFromXML(MapFromXML toRelease)
Make a mapper available for re-use. |
Method Detail |
public MapFromXML allocateMapFromXML() throws java.lang.Exception
releaseMapFromXML(com.openharbor.beck.map.MapFromXML)
after the caller has done using it.
For best performance, this method should return the same object repeatedly,
switching to a new object only when necessary
(e.g. when the old object is intolerably stale).
java.lang.Exception
public void releaseMapFromXML(MapFromXML toRelease) throws java.lang.Exception
allocateMapFromXML()
).
This Source may allocate the mapper to another thread, which might
result in erroneous concurrent use of the mapper by both threads
if a previous releaser cheats.
java.lang.Exception
public void pollSoon()
allocateMapFromXML()
is called,
regardless of the currently acceptable staleness.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |