Class Events

java.lang.Object
io.atomix.primitive.event.Events

public final class Events
extends Object
Event utilities.
  • Method Details

    • getMethodMap

      public static Map<Method,​EventType> getMethodMap​(Class<?> serviceInterface)
      Returns the collection of events provided by the given service interface.
      Parameters:
      serviceInterface - the client service interface
      Returns:
      the events provided by the given service interface
    • getEventMap

      public static Map<EventType,​Method> getEventMap​(Class<?> serviceInterface)
      Returns the collection of events provided by the given service interface.
      Parameters:
      serviceInterface - the service interface
      Returns:
      the events provided by the given service interface