Skip to content

Instantly share code, notes, and snippets.

@gamemachine
Created December 16, 2016 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gamemachine/f6a3c83a45a30aff6b981f3992bedaa3 to your computer and use it in GitHub Desktop.
Save gamemachine/f6a3c83a45a30aff6b981f3992bedaa3 to your computer and use it in GitHub Desktop.
ActorSystemRefs.ActorSystem.ActorOf(ClusterSingletonManager.Props(
singletonProps: Props.Create<ClusterSingletonActor>(),
terminationMessage: PoisonPill.Instance,
settings: ClusterSingletonManagerSettings.Create(ActorSystemRefs.ActorSystem)),
name: "manager");
SystemActors.SingletonProxy = ActorSystemRefs.ActorSystem.ActorOf(ClusterSingletonProxy.Props(
singletonManagerPath: "/user/manager",
settings: ClusterSingletonProxySettings.Create(ActorSystemRefs.ActorSystem)),
name: "managerProxy");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment