Interface ModeledCache<T>
public interface ModeledCache<T>
-
Method Summary
-
Method Details
-
currentData
Return the modeled current data for the given path. There are no guarantees of accuracy. This is merely the most recent view of the data. If there is no node at the given path,Optional.empty()
is returned.- Parameters:
path
- path to the node to check- Returns:
- data if the node is alive, or empty
-
currentChildren
Return the modeled current set of children at the given path, mapped by child name. There are no guarantees of accuracy; this is merely the most recent view of the data.- Parameters:
path
- path to the node to check- Returns:
- a possibly-empty map of children if the node is alive
-