Interface EventsProvider.EventsProviderInterface

  • Enclosing class:
    EventsProvider

    public static interface EventsProvider.EventsProviderInterface
    • Method Detail

      • process_pending_events

        void process_pending_events​(EventHandler handler)
        Processes any events generated since the last call using the given event handler. Subsequent calls must only process new events. However, handlers must be capable of handling duplicate events across process restarts. This may occur if the provider was recovered from an old state (i.e., it hadn't been successfully persisted after processing pending events).