object Effects
Factories for behavior effects for BehaviorTestKit, each effect has a suitable equals and can be used to compare actual effects to expected ones.
- Source
- Effects.scala
- Alphabetic
- By Inheritance
- Effects
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noEffects(): NoEffects
Used to represent an empty list of effects - in other words, the behavior didn't do anything observable
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def receiveTimeoutSet[T](d: Duration, message: T): ReceiveTimeoutSet[T]
The behavior set a new receive timeout, with
message
as timeout notification - def scheduled[U](delay: Duration, target: typed.ActorRef[U], message: U): Scheduled[U]
The behavior used
context.schedule
to schedulemessage
to be sent totarget
afterdelay
FIXME what about events scheduled through the scheduler? - def spawned[T](behavior: Behavior[T], childName: String, props: typed.Props, ref: typed.ActorRef[T]): Spawned[T]
The behavior spawned a named child with the given behavior and specific props
- def spawned[T](behavior: Behavior[T], childName: String, props: typed.Props): Spawned[T]
The behavior spawned a named child with the given behavior and specific props
- def spawned[T](behavior: Behavior[T], childName: String, ref: typed.ActorRef[T]): Spawned[T]
The behavior spawned a named child with the given behavior with no specific props
- def spawned[T](behavior: Behavior[T], childName: String): Spawned[T]
The behavior spawned a named child with the given behavior with no specific props
- def spawnedAnonymous[T](behavior: Behavior[T], props: typed.Props, ref: typed.ActorRef[T]): SpawnedAnonymous[T]
The behavior spawned an anonymous child with the given behavior with specific props
- def spawnedAnonymous[T](behavior: Behavior[T], props: typed.Props): SpawnedAnonymous[T]
The behavior spawned an anonymous child with the given behavior with specific props
- def spawnedAnonymous[T](behavior: Behavior[T], ref: typed.ActorRef[T]): SpawnedAnonymous[T]
The behavior spawned an anonymous child with the given behavior with no specific props
- def spawnedAnonymous[T](behavior: Behavior[T]): SpawnedAnonymous[T]
The behavior spawned an anonymous child with the given behavior with no specific props
- def stopped(childName: String): Stopped
The behavior stopped
childName
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timerScheduled[U](key: Any, msg: U, delay: Duration, mode: TimerMode, overriding: Boolean, send: japi.function.Effect): TimerScheduled[U]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unwatched[T](other: typed.ActorRef[T]): Unwatched[T]
The behavior stopped watching
other
, throughcontext.unwatch(other)
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def watched[T](other: typed.ActorRef[T]): Watched[T]
The behavior started watching
other
, throughcontext.watch(other)
- def watchedWith[U, T](other: typed.ActorRef[U], message: T): WatchedWith[U, T]
The behavior started watching
other
, throughcontext.watchWith(other, message)