Interface EventSubscription


  • public interface EventSubscription
    Represents single event subscription
    • Method Detail

      • getNumberOfEvents

        int getNumberOfEvents​(@NotNull
                              EventTracker tracker)
        Returns number of events corresponding to this subscription from the specified event tracker
        Parameters:
        tracker - event tracker
        Returns:
        number of events corresponding to this subscription
      • serialize

        @NotNull
        java.lang.String serialize()
        Serializes this subscription to string
        Returns:
        this subscription to string