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

@Immutable @ParametersAreNonnullByDefault public class TopologyViewDiff extends Object
  • Constructor Details

  • Method Details

    • getProcessedOffsets

      public Map<String,Supplier<LongStream>> getProcessedOffsets()
      Return the map of the processed offsets, from the old and new view, per publisher agent.
      Returns:
      a map (pubAgentName x processedOffsets)
    • subscribedAgentsChanged

      public boolean subscribedAgentsChanged()
      Returns:
      true if the set of subscribed agent changed between the old and new view ; false otherwise.