Package akka.actor

Class LightArrayRevolverScheduler.TaskHolder

    • Constructor Summary

      Constructors 
      Constructor Description
      TaskHolder​(java.lang.Runnable task, int ticks, scala.concurrent.ExecutionContext executionContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean cancel()  
      boolean executeTask()  
      boolean isCancelled()
      Returns true if and only if this Cancellable has been successfully cancelled
      void run()  
      java.lang.Runnable task()  
      void task_$eq​(java.lang.Runnable x$1)  
      int ticks()  
      void ticks_$eq​(int x$1)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaskHolder

        public TaskHolder​(java.lang.Runnable task,
                          int ticks,
                          scala.concurrent.ExecutionContext executionContext)
    • Method Detail

      • executeTask

        public final boolean executeTask()
      • 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
        Returns:
        (undocumented)
      • run

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

        public java.lang.Runnable task()
      • task_$eq

        public void task_$eq​(java.lang.Runnable x$1)
      • ticks

        public int ticks()
      • ticks_$eq

        public void ticks_$eq​(int x$1)