Package csw.location.client
Class ActorSystemFactory
- java.lang.Object
-
- csw.location.client.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.
-
-
Constructor Summary
Constructors Constructor Description ActorSystemFactory()
-
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 withConstants.RemoteActorSystemName
as componentNamestatic <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
-
-
-
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 withConstants.RemoteActorSystemName
as componentName- Parameters:
behavior
- (undocumented)- Returns:
- (undocumented)
-
-