Interface AsynchronousEventResolver

All Known Implementing Classes:
AnnotationAsynchronousEventResolver

public interface AsynchronousEventResolver
An interface to resolve whether an event can be handled asynchronously or not.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Tells whether the event can be handled asynchronously or not
  • Method Details

    • isAsynchronousEvent

      boolean isAsynchronousEvent(@Nonnull Object event)
      Tells whether the event can be handled asynchronously or not
      Parameters:
      event - the event to check
      Returns:
      true if the event can be handled asynchronously, false otherwise.
      Throws:
      NullPointerException - if the event is null