Class TopologyViewManager
java.lang.Object
org.apache.sling.distribution.journal.impl.discovery.TopologyViewManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
refreshState
(State state) protected int
size()
Update the Topology viewprotected TopologyView
updateView
(long now)
-
Constructor Details
-
TopologyViewManager
public TopologyViewManager(long refreshTtl) - Parameters:
refreshTtl
- the time to live (in ms) for States without being refreshed.
-
-
Method Details
-
getCurrentView
-
refreshState
-
updateView
Update the Topology view- Returns:
- the Topology view before updating.
-
updateView
-
size
protected int size()
-