public interface AsyncObserver extends Observer
Observer.observe(Event, java.util.Map)
method will be run in another thread
and then will not block the main process. Event
,
a higher priority AsyncObserver will not run until lower ones are finished.MAX_PRIORITY, MIN_PRIORITY
Modifier and Type | Method and Description |
---|---|
default boolean |
parallelizable()
Indicates if the observer can be run in parallel with others.
|
getPriority, observe, supports
default boolean parallelizable()