StateActor

cc.otavia.core.actor.StateActor
abstract class StateActor[M <: Call]

Attributes

Graph
Supertypes
trait Actor[M]
class Object
trait Matchable
class Any
Known subtypes
class MainActor
class ProbeActor[M, R]

Members list

Value members

Concrete methods

override def self: ActorAddress[M]

self address of this actor instance

self address of this actor instance

Attributes

Returns

self address

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
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)