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
- Alphabetic
- By Inheritance
- Schedule
- Loggable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(f: () => Unit, delay: Helpers.TimeSpan): ScheduledFuture[Unit]
Schedules the application of a function
Schedules the application of a function
- returns
a
ScheduledFuturewhich executes the function f after the delay
- def apply(f: () => Unit): ScheduledFuture[Unit]
Schedules the application of a function
Schedules the application of a function
- returns
a
ScheduledFuturewhich executes the function f immediately on a worker thread
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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()
- val buildExecutor: () => ThreadPoolExecutor
- Annotations
- @volatile()
- val buildService: () => ScheduledExecutorService
The underlying
java.util.concurrent.ScheduledExecutorThe underlying
java.util.concurrent.ScheduledExecutor- Annotations
- @volatile()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
- Attributes
- protected
- Definition Classes
- Loggable
- Annotations
- @transient()
- val maxThreadPoolSize: Int
- Annotations
- @volatile()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
ScheduledFuturewhich applies the function f after delay
- 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
ScheduledFuturewhich sends themsgto thetoActor after the specified TimeSpandelay.
- def restart: Unit
Re-create the underlying
SingleThreadScheduledExecutor - def schedule(f: () => Unit, delay: Helpers.TimeSpan): ScheduledFuture[Unit]
Schedules the application of a function
Schedules the application of a function
- returns
a
ScheduledFuturewhich executes the function f after the delay
- 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
ScheduledFuturewhich sends themsgto thetoActor after the specified TimeSpandelay.
- def shutdown(): Unit
Shut down the underlying
SingleThreadScheduledExecutor - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()