Package akka.cluster.ClusterEvent

Examples of akka.cluster.ClusterEvent.ReachableMember


    } else if (message instanceof UnreachableMember) {
      UnreachableMember unreachable = (UnreachableMember) message;
      nodes.remove(unreachable.member().address());

    } else if (message instanceof ReachableMember) {
      ReachableMember reachable = (ReachableMember) message;
      if (reachable.member().hasRole("compute"))
        nodes.add(reachable.member().address());

    } else {
      unhandled(message);
    }
  }
View Full Code Here

TOP

Related Classes of akka.cluster.ClusterEvent.ReachableMember

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.