java.lang.Object
tech.guilhermekaua.spigotboot.inventoryapi.internal.schedule.ViewUpdateTask
All Implemented Interfaces:
Runnable

@Internal public final class ViewUpdateTask extends Object implements Runnable
Per-session scheduled update runnable, started by the first-render phase when updateIntervalTicks > 0 and cancelled by the close phase.
  • Constructor Details

    • ViewUpdateTask

      public ViewUpdateTask(@NotNull @NotNull ViewEngine engine, @NotNull @NotNull ViewSession session)
      Creates the task for one session.
      Parameters:
      engine - the engine running the update pass
      session - the session to update on every tick of the timer
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable