Interface ObjectiveTrackerService


  • public interface ObjectiveTrackerService
    Auxiliary service for tracking intent path flows and for notifying the intent service of environment changes via topology change delegate.
    • Method Detail

      • setDelegate

        void setDelegate​(TopologyChangeDelegate delegate)
        Sets a topology change delegate.
        Parameters:
        delegate - topology change delegate
      • unsetDelegate

        void unsetDelegate​(TopologyChangeDelegate delegate)
        Unsets topology change delegate.
        Parameters:
        delegate - topology change delegate
      • addTrackedResources

        void addTrackedResources​(Key intentKey,
                                 java.util.Collection<NetworkResource> resources)
        Adds a path flow to be tracked.
        Parameters:
        intentKey - intent identity on whose behalf the path is being tracked
        resources - resources to track
      • removeTrackedResources

        void removeTrackedResources​(Key intentKey,
                                    java.util.Collection<NetworkResource> resources)
        Removes a path flow to be tracked.
        Parameters:
        intentKey - intent identity on whose behalf the path is being tracked
        resources - resources to stop tracking
      • trackIntent

        void trackIntent​(IntentData intentData)
        Submits the specified intent data to be tracked.
        Parameters:
        intentData - intent data object to be tracked