Class SynchronousEventFilter

java.lang.Object
com.atlassian.confluence.event.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 Summary

    Constructors
    Constructor
    Description
    SynchronousEventFilter(com.atlassian.event.internal.AsynchronousEventResolver delegate, com.google.common.base.Predicate<Object> synchronousEventPredicate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.atlassian.event.internal.AsynchronousEventResolver
    create(com.atlassian.event.internal.AsynchronousEventResolver delegate, com.atlassian.config.db.HibernateConfig hibernateConfig)
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SynchronousEventFilter

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

    • 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