Package com.atlassian.confluence.event
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
All Methods Static Methods Instance Methods Concrete Methods 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
isAsynchronousEvent(Object event)
-
-
-
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 interfacecom.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
-
-