private static Map<String, String> allPeers = new HashMap<>();
- private static Map<String, ActorRef> clientActorRefs = new HashMap<String, ActorRef>();
- private static Map<String, ActorRef> actorRefs = new HashMap<String, ActorRef>();
+ private static Map<String, ActorRef> clientActorRefs = new HashMap<>();
+ private static Map<String, ActorRef> actorRefs = new HashMap<>();
private static LogGenerator logGenerator = new LogGenerator();
private int nameCounter = 0;
private static ConfigParams configParams = new ExampleConfigParamsImpl();
}
// create the listener using a separate actor system for each example actor
- private void createClusterRoleChangeListener(List<String> memberIds) {
+ private static void createClusterRoleChangeListener(List<String> memberIds) {
System.out.println("memberIds="+memberIds);
for (String memberId : memberIds) {
ActorRef listenerActor = listenerActorSystem.actorOf(