|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openharbor.beck.map.PollableConfiguration
Maps the Configuration from a PollableInput, and tracks changes to that input. This class is not thread-safe.
Constructor Summary | |
PollableConfiguration(PollableInput input)
|
Method Summary | |
Configuration |
getConfiguration()
The current configuration. |
void |
pollSoon()
Check for a change in the configuration next time getConfiguration() is called,
regardless of the currently acceptable staleness. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PollableConfiguration(PollableInput input)
Method Detail |
public Configuration getConfiguration() throws java.lang.Exception
ConfigurationSource
getConfiguration
in interface ConfigurationSource
java.lang.Exception
public void pollSoon()
ConfigurationSource
ConfigurationSource.getConfiguration()
is called,
regardless of the currently acceptable staleness.
pollSoon
in interface ConfigurationSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |