ProbeActor

cc.otavia.core.testkit.ProbeActor
See theProbeActor companion object
class ProbeActor[M <: Ask[_ <: Reply], R <: ReplyOf[M]](address: Address[M], msg: M, expect: (MessageFuture[R]) => Boolean, result: Promise[Boolean])(implicit evidence$1: ClassTag[R]) extends StateActor[ProbeStart]

Attributes

Companion
object
Graph
Supertypes
trait Actor[ProbeStart]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

implement this method to handle notice message and resume when received reply message for this notice message

implement this method to handle notice message and resume when received reply message for this notice message

Value parameters

stack

notice message receive by this actor instance, or resume frame .

Attributes

Returns

an option value containing the resumable StackState waited for some reply message, or None if the stack frame has finished.

Definition Classes
AbstractActor

Inherited methods

final def actorId: Long

The unique id of this actor distributed by ActorSystem, when a actor instance is mounted to a ActorSystem, the actor system will distribute a unique id to the instance.

The unique id of this actor distributed by ActorSystem, when a actor instance is mounted to a ActorSystem, the actor system will distribute a unique id to the instance.

Attributes

Returns

id number

Inherited from:
Actor
final def autowire[A <: Actor[_] : ClassTag](qualifier: String): Address[MessageOf[A]]

Attributes

Inherited from:
Actor
final def autowire[A <: Actor[_] : ClassTag](qualifier: Option[String], remote: Option[String]): Address[MessageOf[A]]

Attributes

Inherited from:
Actor
def batchable: Boolean

whether this actor is a batch actor, if override it to true, actor system will dispatch seq message to receiveBatchXXX method

whether this actor is a batch actor, if override it to true, actor system will dispatch seq message to receiveBatchXXX method

Attributes

Inherited from:
AbstractActor (hidden)
final override def context: ActorContext

Context of this actor. This method can only used after actor instance mount to actor system

Context of this actor. This method can only used after actor instance mount to actor system

Attributes

Definition Classes
AbstractActor -> Actor
Inherited from:
AbstractActor (hidden)
def maxBatchSize: Int

max size message for each batch, usage for schedule system

max size message for each batch, usage for schedule system

Attributes

Inherited from:
AbstractActor (hidden)

Attributes

Inherited from:
Actor
def nice: Int

Attributes

Inherited from:
Actor
override def self: ActorAddress[ProbeStart]

self address of this actor instance

self address of this actor instance

Attributes

Returns

self address

Definition Classes
StateActor -> AbstractActor
Inherited from:
StateActor
final def system: ActorSystem

The ActorSystem of this actor instance is running

The ActorSystem of this actor instance is running

Attributes

Returns

ActorSystem

Inherited from:
Actor
final def timer: Timer

Attributes

Inherited from:
Actor

Inherited fields

val batchAskFilter: (Ask[_]) => Boolean

Attributes

Inherited from:
AbstractActor (hidden)
val batchNoticeFilter: Notice => Boolean

Attributes

Inherited from:
AbstractActor (hidden)