class Actor[-T, S] extends ActorRef[T, S] with LazyLogging
Ordering
- Alphabetic
- By Inheritance
Inherited
- Actor
- LazyLogging
- ActorRef
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Actor(state: S, queue: ActorQueue[(T, Int)], stashCapacity: Int, weigher: (T) ⇒ Int, cached: Boolean, execution: (T, Actor[T, S]) ⇒ Unit, interval: Option[Interval], recovery: Option[(T, IO[Throwable, Actor.Error], Actor[T, S]) ⇒ Unit])(implicit executionContext: ExecutionContext)
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 ask[R, X[_]](message: (ActorRef[R, Unit]) ⇒ T, delay: FiniteDuration)(implicit scheduler: Scheduler, bag: Async[X]): Task[R, X]
- def ask[R, X[_]](message: (ActorRef[R, Unit]) ⇒ T)(implicit bag: Async[X]): X[R]
- def clear(): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val executionContext: ExecutionContext
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasMessages: Boolean
- Definition Classes
- ActorRef
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTerminated: Boolean
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- def messageCount: Int
-
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 recover[M <: T, E](f: (M, IO[E, Actor.Error], Actor[T, S]) ⇒ Unit)(implicit arg0: ExceptionHandler[E]): ActorRef[T, S]
-
def
recoverException[M <: T](f: (M, IO[Throwable, Actor.Error], Actor[T, S]) ⇒ Unit): ActorRef[T, S]
- Definition Classes
- ActorRef
- def send(message: T): Unit
-
def
send(message: T, delay: FiniteDuration)(implicit scheduler: Scheduler): TimerTask
Sends a message to this actor with delay
- val state: S
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def terminate(): Unit
- def terminateAndClear(): Unit
- def terminateAndRecover[M <: T, E](f: (M, IO[E, Actor.Error], Actor[T, S]) ⇒ Unit)(implicit arg0: ExceptionHandler[E]): ActorRef[T, S]
-
def
terminateAndRecoverException[M <: T](function: (M, IO[Throwable, Actor.Error], Actor[T, S]) ⇒ Unit): ActorRef[T, S]
- Definition Classes
- ActorRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def totalWeight: Int
-
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( ... ) @native()