- Enclosing interface:
- Config
public static interface Config.Context
Context associated with specific
Config
node that allows to access the last loaded instance of the node
or to request reloading of whole configuration.-
Method Details
-
timestamp
Instant timestamp()Returns timestamp of the last loaded configuration.- Returns:
- timestamp of the last loaded configuration.
- See Also:
-
last
Config last()Returns instance of Config node related to same Configkey
as originalnode
used to get Context from.This method uses the last known value of the node, as provided through change support.
- Returns:
- the last instance of Config node associated with same key as original node
- See Also:
-
reload
Config reload()Requests reloading of whole configuration and returns new instance of Config node related to same Configkey
as originalnode
used to get Context from.- Returns:
- the new instance of Config node associated with same key as original node
- See Also:
-