Interface EventFilter

    • Method Detail

      • accept

        boolean accept​(Event event,
                       boolean isLocal)
        If an implementation returns true the event will be included in the event bundle returned by RepositoryService.getEvents(Subscription, long). A return value of false indicates that the client is not interested in the event.
        Parameters:
        event - the event in question.
        isLocal - flag indicating whether this is a local event.
        Returns:
        true if the event is accepted by the filter; false otherwise.