Package akka.event

Interface ScanningClassification


  • public interface ScanningClassification
    Maps Classifiers to Subscribers and selects which Subscriber should receive which publication through scanning through all Subscribers through the matches(classifier, event) method

    Note: the compareClassifiers and compareSubscribers must together form an absolute ordering (think java.util.Comparator.compare)

    • Method Detail

      • akka$event$ScanningClassification$_setter_$subscribers_$eq

        void akka$event$ScanningClassification$_setter_$subscribers_$eq​(java.util.concurrent.ConcurrentSkipListSet<scala.Tuple2<java.lang.Object,​java.lang.Object>> x$1)
      • compareClassifiers

        int compareClassifiers​(ScanningClassification a,
                               ScanningClassification b)
        Provides a total ordering of Classifiers (think java.util.Comparator.compare)
        Parameters:
        a - (undocumented)
        b - (undocumented)
        Returns:
        (undocumented)
      • compareSubscribers

        int compareSubscribers​(ScanningClassification a,
                               ScanningClassification b)
        Provides a total ordering of Subscribers (think java.util.Comparator.compare)
        Parameters:
        a - (undocumented)
        b - (undocumented)
        Returns:
        (undocumented)
      • matches

        boolean matches​(ScanningClassification classifier,
                        ScanningClassification event)
        Returns whether the specified Classifier matches the specified Event
        Parameters:
        classifier - (undocumented)
        event - (undocumented)
        Returns:
        (undocumented)
      • subscribers

        java.util.concurrent.ConcurrentSkipListSet<scala.Tuple2<java.lang.Object,​java.lang.Object>> subscribers()