public class NedTTL extends Object
public NedTTL(ConfPath path, int ttl)
path
- The path for which the TTL holds.ttl
- The time-to-live in seconds.public NedTTL(ConfPath path, int ttl, boolean isSubtree)
path
- The path for which the TTL holds.ttl
- The time-to-live in seconds.isSubtree
- Signals that the entire subtree for the path
was fetched and that this is the default TTL for it.
Unless there exists a TTL on a path below it, NCS will not
fetch more data below this path until this TTL expires.
This parameter only works together with
showStatsPath().public ConfEObject encode()
public ConfPath getPath()
public int getTTL()
public boolean isSubtree()