implicit final class ClassicActorContextOps extends AnyVal
Extension methods added to akka.actor.ActorContext.
- Source
- package.scala
- Alphabetic
- By Inheritance
- ClassicActorContextOps
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ClassicActorContextOps(ctx: actor.ActorContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toany2stringadd[ClassicActorContextOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ClassicActorContextOps, B)
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toArrowAssoc[ClassicActorContextOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val ctx: actor.ActorContext
- def ensuring(cond: (ClassicActorContextOps) => Boolean, msg: => Any): ClassicActorContextOps
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toEnsuring[ClassicActorContextOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ClassicActorContextOps) => Boolean): ClassicActorContextOps
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toEnsuring[ClassicActorContextOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ClassicActorContextOps
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toEnsuring[ClassicActorContextOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ClassicActorContextOps
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toEnsuring[ClassicActorContextOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def spawn[T](behavior: Behavior[T], name: String, props: Props = Props.empty): ActorRef[T]
Spawn the given behavior as a child of the user actor in a classic ActorContext.
Spawn the given behavior as a child of the user actor in a classic ActorContext.
Typed actors default supervision strategy is to stop. Can be overridden with
Behaviors.supervise
. - def spawnAnonymous[T](behavior: Behavior[T], props: Props = Props.empty): ActorRef[T]
Spawn the given behavior as a child of the user actor in a classic ActorContext.
Spawn the given behavior as a child of the user actor in a classic ActorContext.
Typed actors default supervision strategy is to stop. Can be overridden with
Behaviors.supervise
. - def stop(child: ActorRef[_]): Unit
- def toString(): String
- Definition Classes
- Any
- def unwatch[U](other: ActorRef[U]): Unit
- def watch[U](other: ActorRef[U]): Unit
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toStringFormat[ClassicActorContextOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ClassicActorContextOps, B)
- Implicit
- This member is added by an implicit conversion from ClassicActorContextOps toArrowAssoc[ClassicActorContextOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.