Class ActorSystemFactory


  • public class ActorSystemFactory
    extends java.lang.Object
    ActorSystemFactory creates a remote ActorSystem on the interface where csw-cluster is running. The ActorSystem starts on a random port.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> akka.actor.typed.ActorSystem<T> remote​(akka.actor.typed.Behavior<T> behavior)
      Create an ActorSystem with Constants.RemoteActorSystemName as componentName
      static <T> akka.actor.typed.ActorSystem<T> remote​(akka.actor.typed.Behavior<T> behavior, java.lang.String name)
      Create an Typed ActorSystem with the given guardian behaviour, name and remote properties
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActorSystemFactory

        public ActorSystemFactory()
    • Method Detail

      • remote

        public static <T> akka.actor.typed.ActorSystem<T> remote​(akka.actor.typed.Behavior<T> behavior,
                                                                 java.lang.String name)
        Create an Typed ActorSystem with the given guardian behaviour, name and remote properties

        Parameters:
        behavior - (undocumented)
        name - (undocumented)
        Returns:
        (undocumented)
      • remote

        public static <T> akka.actor.typed.ActorSystem<T> remote​(akka.actor.typed.Behavior<T> behavior)
        Create an ActorSystem with Constants.RemoteActorSystemName as componentName
        Parameters:
        behavior - (undocumented)
        Returns:
        (undocumented)