Packages

sealed trait Schedule extends Loggable

The Schedule object schedules an actor to be ping-ed with a given message after a specified delay. If you need recurrent scheduled pings you will need to reschedule.

The schedule methods return a ScheduledFuture object which can be cancelled if necessary

Linear Supertypes
Loggable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Schedule
  2. Loggable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(f: () => Unit, delay: Helpers.TimeSpan): ScheduledFuture[Unit]

    Schedules the application of a function

    Schedules the application of a function

    returns

    a ScheduledFuture which executes the function f after the delay

  5. def apply(f: () => Unit): ScheduledFuture[Unit]

    Schedules the application of a function

    Schedules the application of a function

    returns

    a ScheduledFuture which executes the function f immediately on a worker thread

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val blockingQueueSize: Box[Int]

    If it's Full, then create a ArrayBlockingQueue otherwith create a LinkedBlockingQueue.

    If it's Full, then create a ArrayBlockingQueue otherwith create a LinkedBlockingQueue. Default to Full(200000)

    Annotations
    @volatile()
  8. val buildExecutor: () => ThreadPoolExecutor
    Annotations
    @volatile()
  9. val buildService: () => ScheduledExecutorService

    The underlying java.util.concurrent.ScheduledExecutor

    The underlying java.util.concurrent.ScheduledExecutor

    Annotations
    @volatile()
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val logger: Logger
    Attributes
    protected
    Definition Classes
    Loggable
    Annotations
    @transient()
  18. val maxThreadPoolSize: Int
    Annotations
    @volatile()
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def perform(f: () => Unit, delay: Long): ScheduledFuture[Unit]

    Schedules the sending of a message to occur after the specified delay.

    Schedules the sending of a message to occur after the specified delay.

    returns

    a ScheduledFuture which applies the function f after delay

  23. def perform[T](to: SimpleActor[T], msg: T, delay: Long): ScheduledFuture[Unit]

    Schedules the sending of a message to occur after the specified delay.

    Schedules the sending of a message to occur after the specified delay.

    returns

    a ScheduledFuture which sends the msg to the to Actor after the specified TimeSpan delay.

  24. def restart: Unit

    Re-create the underlying SingleThreadScheduledExecutor

  25. def schedule(f: () => Unit, delay: Helpers.TimeSpan): ScheduledFuture[Unit]

    Schedules the application of a function

    Schedules the application of a function

    returns

    a ScheduledFuture which executes the function f after the delay

  26. def schedule[T](to: SimpleActor[T], msg: T, delay: Helpers.TimeSpan): ScheduledFuture[Unit]

    Schedules the sending of a message to occur after the specified delay.

    Schedules the sending of a message to occur after the specified delay.

    returns

    a ScheduledFuture which sends the msg to the to Actor after the specified TimeSpan delay.

  27. def shutdown(): Unit

    Shut down the underlying SingleThreadScheduledExecutor

  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val threadPoolSize: Int

    Set this variable to the number of threads to allocate in the thread pool

    Set this variable to the number of threads to allocate in the thread pool

    Annotations
    @volatile()
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Loggable

Inherited from AnyRef

Inherited from Any

Ungrouped