public final class AnnotationAsynchronousEventResolver extends Object implements AsynchronousEventResolver
Annotation based AsynchronousEventResolver
. This will check whether the event is annotated with the given
annotation.
The default annotation used is AsynchronousPreferred
AsynchronousPreferred
Modifier and Type | Method and Description |
---|---|
boolean |
isAsynchronousEvent(Object event)
Tells whether the event can be handled asynchronously or not
|
public boolean isAsynchronousEvent(Object event)
AsynchronousEventResolver
isAsynchronousEvent
in interface AsynchronousEventResolver
event
- the event to checktrue
if the event can be handled asynchronously, false
otherwise.Copyright © 2006-2016 Atlassian. All Rights Reserved.