Package csw.location.client
Class ActorSystemFactory
java.lang.Object
csw.location.client.ActorSystemFactory
ActorSystemFactory creates a remote ActorSystem on the interface where csw-cluster is running. The ActorSystem starts on a
random port.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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>
Create an Typed ActorSystem with the given guardian behaviour, name and remote properties
-
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 withConstants.RemoteActorSystemName
as componentName- Parameters:
behavior
- (undocumented)- Returns:
- (undocumented)
-