Package co.aikar.timings
Class TimedEventExecutor
java.lang.Object
co.aikar.timings.TimedEventExecutor
- All Implemented Interfaces:
EventExecutor
@Deprecated(forRemoval=true)
public class TimedEventExecutor
extends Object
implements EventExecutor
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
-
Field Summary
Fields inherited from interface org.bukkit.plugin.EventExecutor
eventExecutorMap
-
Constructor Summary
ConstructorDescriptionTimedEventExecutor
(@NotNull EventExecutor executor, @NotNull Plugin plugin, @Nullable Method method, @NotNull Class<? extends Event> eventClass) Deprecated, for removal: This API element is subject to removal in a future version.Wraps an event executor and associates a timing handler to it. -
Method Summary
-
Constructor Details
-
TimedEventExecutor
public TimedEventExecutor(@NotNull @NotNull EventExecutor executor, @NotNull @NotNull Plugin plugin, @Nullable @Nullable Method method, @NotNull @NotNull Class<? extends Event> eventClass) Deprecated, for removal: This API element is subject to removal in a future version.Wraps an event executor and associates a timing handler to it.- Parameters:
executor
- Executor to wrapplugin
- Owning pluginmethod
- EventHandler methodeventClass
- Owning class
-
-
Method Details
-
execute
public void execute(@NotNull @NotNull Listener listener, @NotNull @NotNull Event event) throws EventException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
execute
in interfaceEventExecutor
- Throws:
EventException
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-