Class TopologyViewDiff
java.lang.Object
org.apache.sling.distribution.journal.impl.discovery.TopologyViewDiff
@Immutable @ParametersAreNonnullByDefault public class TopologyViewDiff extends Object
-
Constructor Summary
Constructors Constructor Description TopologyViewDiff(TopologyView oldView, TopologyView newView) -
Method Summary
Modifier and Type Method Description Map<String,Supplier<LongStream>>getProcessedOffsets()Return the map of the processed offsets, from the old and new view, per publisher agent.booleansubscribedAgentsChanged()
-
Constructor Details
-
Method Details
-
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:
trueif the set of subscribed agent changed between the old and new view ;falseotherwise.
-