MethodHandleEventExecutor
, StaticMethodHandleEventExecutor
, TimedEventExecutor
public interface EventExecutor
Modifier and Type | Field | Description |
---|---|---|
static ConcurrentMap<Method,Class<? extends EventExecutor>> |
eventExecutorMap |
Modifier and Type | Method | Description |
---|---|---|
static EventExecutor |
create(Method m,
Class<? extends Event> eventClass) |
|
void |
execute(Listener listener,
Event event) |
static final ConcurrentMap<Method,Class<? extends EventExecutor>> eventExecutorMap
void execute(@NotNull Listener listener, @NotNull Event event) throws EventException
EventException
@NotNull static EventExecutor create(@NotNull Method m, @NotNull Class<? extends Event> eventClass)
Copyright © 2020. All rights reserved.