|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A source of MapToXML objects.
Method Summary | |
MapToXML |
allocateMapToXML()
Obtain a current mapper. |
void |
pollSoon()
Check for a change in the configuration next time allocateMapToXML() is called,
regardless of the currently acceptable staleness. |
void |
releaseMapToXML(MapToXML toRelease)
Make a mapper available for use by other threads. |
Method Detail |
public MapToXML allocateMapToXML() throws java.lang.Exception
releaseMapToXML(com.openharbor.beck.map.MapToXML)
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 releaseMapToXML(MapToXML toRelease) throws java.lang.Exception
allocateMapToXML()
).
This source may allocate the mapper to another thread, which might
result in erroneous concurrent use of the mapper by both threads.
java.lang.Exception
public void pollSoon()
allocateMapToXML()
is called,
regardless of the currently acceptable staleness.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |