Examples of dropParticipantFromCluster()


Examples of org.apache.helix.api.accessor.ClusterAccessor.dropParticipantFromCluster()

  void dropInstance(String[] optValues) {
    String clusterName = optValues[0];
    String[] instanceIds = optValues[1].split(";");
    ClusterAccessor accessor = clusterAccessor(clusterName);
    for (String instanceId : instanceIds) {
      accessor.dropParticipantFromCluster(ParticipantId.from(instanceId));
    }

  }

  private static byte[] readFile(String filePath) throws IOException {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.