Class ActorSystem$

java.lang.Object
org.apache.pekko.actor.typed.ActorSystem$
All Implemented Interfaces:
Serializable

public class ActorSystem$ extends Object implements Serializable
See Also:
  • Field Details

    • MODULE$

      public static final ActorSystem$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • ActorSystem$

      public ActorSystem$()
  • Method Details

    • apply

      public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name)
      Scala API: Create an ActorSystem
    • apply

      public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config)
      Scala API: Create an ActorSystem
    • apply

      public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config, Props guardianProps)
      Scala API: Create an ActorSystem
    • apply

      public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, ActorSystemSetup setup, Props guardianProps)
      Scala API: Creates a new actor system with the specified name and settings The core actor system settings are defined in BootstrapSetup
    • apply

      public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, BootstrapSetup bootstrapSetup)
      Scala API: Shortcut for creating an actor system with custom bootstrap settings. Same behavior as calling ActorSystem(name, ActorSystemSetup(bootstrapSetup))
    • apply$default$4

      public <T> Props apply$default$4()
    • create

      public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name)
      Java API: Create an ActorSystem
    • create

      public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config)
      Java API: Create an ActorSystem
    • create

      public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config, Props guardianProps)
      Java API: Create an ActorSystem
    • create

      public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, ActorSystemSetup setups)
      Java API: Creates a new actor system with the specified name and settings The core actor system settings are defined in BootstrapSetup
    • create

      public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, BootstrapSetup bootstrapSetup)
      Java API: Shortcut for creating an actor system with custom bootstrap settings. Same behavior as calling ActorSystem.create(name, ActorSystemSetup.create(bootstrapSettings))
    • wrap

      public ActorSystem<scala.runtime.Nothing$> wrap(ActorSystem system)
      Wrap a classic pekko.actor.ActorSystem such that it can be used from Pekko Typed Behavior.