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
- All
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
ScheduledFuture
which 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
ScheduledFuture
which 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()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
-
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 themsg
to theto
Actor after the specified TimeSpan
delay
.
-
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
ScheduledFuture
which 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
ScheduledFuture
which sends themsg
to theto
Actor after the specified TimeSpan
delay
.
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )