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
  • Constructor Summary

    Constructors
    Constructor
    Description
    TimedEventExecutor(@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

    Modifier and Type
    Method
    Description
    void
    execute(@NotNull Listener listener, @NotNull Event event)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull String
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 wrap
      plugin - Owning plugin
      method - EventHandler method
      eventClass - 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 interface EventExecutor
      Throws:
      EventException
    • toString

      @NotNull public @NotNull String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object