Class/Object

akka.typed

ActorSystem

Related Docs: object ActorSystem | package typed

Permalink

abstract class ActorSystem[-T] extends ActorRef[T]

An ActorSystem is home to a hierarchy of Actors. It is created using ActorSystem$ apply from a Props object that describes the root Actor of this hierarchy and which will create all other Actors beneath it. A system also implements the ActorRef type, and sending a message to the system directs that message to the root Actor.

Self Type
ActorSystem[T] with ScalaActorRef[T]
Source
ActorSystem.scala
Linear Supertypes
ActorRef[T], Comparable[ActorRef[Any]], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ActorSystem
  2. ActorRef
  3. Comparable
  4. AnyRef
  5. Any
Implicitly
  1. by toScalaActorRef
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ActorSystem(_name: String)

    Permalink

Value Members

  1. def !(msg: T): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to ScalaActorRef[T] performed by method toScalaActorRef in akka.typed.ActorRef.
    Definition Classes
    ScalaActorRef
  2. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to any2stringadd[ActorSystem[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (ActorSystem[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to ArrowAssoc[ActorSystem[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compareTo(other: ActorRef[Any]): Int

    Permalink
    Definition Classes
    ActorRef → Comparable
  10. def deadLetters[U]: ActorRef[U]

    Permalink

    The deadLetter address is a destination that will accept (and discard) every message sent to it.

  11. def dispatchers: Dispatchers

    Permalink

    Helper object for looking up configured dispatchers.

  12. def dynamicAccess: DynamicAccess

    Permalink

    ClassLoader wrapper which is used for reflective accesses internally.

    ClassLoader wrapper which is used for reflective accesses internally. This is set to use the context class loader, if one is set, or the class loader which loaded the ActorSystem implementation. The context class loader is also set on all threads created by the ActorSystem, if one was set during creation.

  13. def ensuring(cond: (ActorSystem[T]) ⇒ Boolean, msg: ⇒ Any): ActorSystem[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to Ensuring[ActorSystem[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ActorSystem[T]) ⇒ Boolean): ActorSystem[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to Ensuring[ActorSystem[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): ActorSystem[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to Ensuring[ActorSystem[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ActorSystem[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to Ensuring[ActorSystem[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    ActorRef → AnyRef → Any
  19. def eventStream: EventStream

    Permalink

    Main event bus of this actor system, used for example for logging.

  20. implicit def executionContext: ExecutionContextExecutor

    Permalink

    The default thread pool of this ActorSystem, configured with settings in akka.actor.default-dispatcher.

  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to StringFormat[ActorSystem[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    ActorRef → AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def logConfiguration(): Unit

    Permalink

    Log the configuration.

  27. def name: String

    Permalink

    The name of this actor system, used to distinguish multiple ones within the same JVM & class loader.

  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def path: ActorPath

    Permalink

    The hierarchical path name of the referenced Actor.

    The hierarchical path name of the referenced Actor. The lifecycle of the ActorRef is fully contained within the lifecycle of the akka.actor.ActorPath and more than one Actor instance can exist with the same path at different points in time, but not concurrently.

    Definition Classes
    ActorRef
  32. def provider: ActorRefProvider

    Permalink

    The ActorRefProvider is the only entity which creates all actor references within this actor system.

  33. def settings: Settings

    Permalink

    The core settings extracted from the supplied configuration.

  34. def startTime: Long

    Permalink

    Start-up time in milliseconds since the epoch.

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def tell(msg: T): Unit

    Permalink

    Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.

    Send a message to the Actor referenced by this ActorRef using *at-most-once* messaging semantics.

    Definition Classes
    ActorRef
  37. def terminate(): Future[Terminated]

    Permalink

    Terminates this actor system.

    Terminates this actor system. This will stop the guardian actor, which in turn will recursively stop all its child actors, then the system guardian (below which the logging actors reside).

  38. def threadFactory: ThreadFactory

    Permalink

    A ThreadFactory that can be used if the transport needs to create any Threads

  39. def toString(): String

    Permalink
    Definition Classes
    ActorRef → AnyRef → Any
  40. def upcast[U >: T]: ActorRef[U]

    Permalink

    Unsafe utility method for widening the type accepted by this ActorRef; provided to avoid having to use asInstanceOf on the full reference type, which would unfortunately also work on non-ActorRefs.

    Unsafe utility method for widening the type accepted by this ActorRef; provided to avoid having to use asInstanceOf on the full reference type, which would unfortunately also work on non-ActorRefs.

    Definition Classes
    ActorRef
  41. def uptime: Long

    Permalink

    Up-time of this actor system in seconds.

  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def whenTerminated: Future[Terminated]

    Permalink

    Returns a Future which will be completed after the ActorSystem has been terminated and termination hooks have been executed.

  46. def [B](y: B): (ActorSystem[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ActorSystem[T] to ArrowAssoc[ActorSystem[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ActorRef[T]

Inherited from Comparable[ActorRef[Any]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion toScalaActorRef from ActorSystem[T] to ScalaActorRef[T]

Inherited by implicit conversion any2stringadd from ActorSystem[T] to any2stringadd[ActorSystem[T]]

Inherited by implicit conversion StringFormat from ActorSystem[T] to StringFormat[ActorSystem[T]]

Inherited by implicit conversion Ensuring from ActorSystem[T] to Ensuring[ActorSystem[T]]

Inherited by implicit conversion ArrowAssoc from ActorSystem[T] to ArrowAssoc[ActorSystem[T]]

Ungrouped