Class LightArrayRevolverScheduler.TaskHolder

java.lang.Object
org.apache.pekko.actor.LightArrayRevolverScheduler.TaskHolder
All Implemented Interfaces:
Runnable, Cancellable, LightArrayRevolverScheduler.TimerTask
Enclosing class:
LightArrayRevolverScheduler

protected static class LightArrayRevolverScheduler.TaskHolder extends Object implements LightArrayRevolverScheduler.TimerTask
INTERNAL API
  • Constructor Details

    • TaskHolder

      public TaskHolder(Runnable task, int ticks, scala.concurrent.ExecutionContext executionContext)
  • Method Details

    • cancel

      public boolean cancel()
      Description copied from interface: Cancellable
      Cancels this Cancellable and returns true if that was successful. If this cancellable was (concurrently) cancelled already, then this method will return false although isCancelled will return true.

      Java & Scala API

      Specified by:
      cancel in interface Cancellable
    • isCancelled

      public boolean isCancelled()
      Description copied from interface: Cancellable
      Returns true if and only if this Cancellable has been successfully cancelled

      Java & Scala API

      Specified by:
      isCancelled in interface Cancellable
    • run

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

      public Runnable task()
    • task_$eq

      public void task_$eq(Runnable x$1)
    • ticks

      public int ticks()
    • ticks_$eq

      public void ticks_$eq(int x$1)