Class SynchronousEventFilter

  • All Implemented Interfaces:
    com.atlassian.event.internal.AsynchronousEventResolver

    public class SynchronousEventFilter
    extends Object
    implements com.atlassian.event.internal.AsynchronousEventResolver
    Allows to force the synchronous dispatch of given events.
    Since:
    5.6
    • Constructor Detail

      • SynchronousEventFilter

        public SynchronousEventFilter​(com.atlassian.event.internal.AsynchronousEventResolver delegate,
                                      com.google.common.base.Predicate<Object> synchronousEventPredicate)
    • Method Detail

      • isAsynchronousEvent

        public boolean isAsynchronousEvent​(Object event)
        Specified by:
        isAsynchronousEvent in interface com.atlassian.event.internal.AsynchronousEventResolver
      • create

        public static com.atlassian.event.internal.AsynchronousEventResolver create​(com.atlassian.event.internal.AsynchronousEventResolver delegate,
                                                                                    com.atlassian.config.db.HibernateConfig hibernateConfig)
        Since:
        7.14