|
Akka/Scala example source code file (StatsSampleOneMasterClientMain.java)
The StatsSampleOneMasterClientMain.java Akka example source codepackage sample.cluster.stats; import com.typesafe.config.ConfigFactory; import akka.actor.ActorSystem; import akka.actor.Props; public class StatsSampleOneMasterClientMain { public static void main(String[] args) { // note that client is not a compute node, role not defined ActorSystem system = ActorSystem.create("ClusterSystem", ConfigFactory.load("stats2")); system.actorOf(Props.create(StatsSampleClient.class, "/user/statsServiceProxy"), "client"); } } Other Akka source code examplesHere is a short list of links related to this Akka StatsSampleOneMasterClientMain.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.