public class TimedEventExecutor extends Object implements EventExecutor
eventExecutorMap| Constructor and Description |
|---|
TimedEventExecutor(@NotNull EventExecutor executor,
@NotNull Plugin plugin,
@Nullable Method method,
@NotNull Class<? extends Event> eventClass)
Wraps an event executor and associates a timing handler to it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(@NotNull Listener listener,
@NotNull Event event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic TimedEventExecutor(@NotNull @NotNull EventExecutor executor, @NotNull @NotNull Plugin plugin, @Nullable @Nullable Method method, @NotNull @NotNull Class<? extends Event> eventClass)
executor - Executor to wrapplugin - Owning pluginmethod - EventHandler methodeventClass - Owning classpublic void execute(@NotNull @NotNull Listener listener, @NotNull @NotNull Event event) throws EventException
execute in interface EventExecutorEventExceptionCopyright © 2021. All rights reserved.