Class TrackerRegistry


  • public class TrackerRegistry
    extends Object
    Registry of trackers for an AdminHandler
    Author:
    Ahmed Owian
    • Constructor Detail

      • TrackerRegistry

        public TrackerRegistry()
    • Method Detail

      • getCoreNames

        public Set<String> getCoreNames()
      • hasTrackersForCore

        public boolean hasTrackersForCore​(String coreName)
      • getTrackerForCore

        public <T extends Tracker> T getTrackerForCore​(String coreName,
                                                       Class<T> trackerClass)
      • register

        public void register​(String coreName,
                             Tracker tracker)
      • removeTrackersForCore

        public boolean removeTrackersForCore​(String coreName)
        Removes the trackers for the specified core.
        Parameters:
        coreName -
        Returns:
        true if there were trackers registered for the core
      • setModelTracker

        public void setModelTracker​(ModelTracker modelTracker)