Class ActorSystemFactory

java.lang.Object
csw.location.client.ActorSystemFactory

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

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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, 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 Details

    • ActorSystemFactory

      public ActorSystemFactory()
  • Method Details

    • remote

      public static <T> akka.actor.typed.ActorSystem<T> remote(akka.actor.typed.Behavior<T> behavior, 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)