Class TopologyViewManager

java.lang.Object
org.apache.sling.distribution.journal.impl.discovery.TopologyViewManager

@ParametersAreNonnullByDefault public class TopologyViewManager extends Object
  • Constructor Details

    • TopologyViewManager

      public TopologyViewManager(long refreshTtl)
      Parameters:
      refreshTtl - the time to live (in ms) for States without being refreshed.
  • Method Details

    • getCurrentView

      public TopologyView getCurrentView()
    • refreshState

      public void refreshState(State state)
    • updateView

      public TopologyView updateView()
      Update the Topology view
      Returns:
      the Topology view before updating.
    • updateView

      protected TopologyView updateView(long now)
    • size

      protected int size()