Package org.apache.helix.api.accessor

Examples of org.apache.helix.api.accessor.ParticipantAccessor.swapParticipants()


  void swapParticipants(String[] optValues) {
    String clusterName = optValues[0];
    String oldParticipantName = optValues[1];
    String newParticipantName = optValues[2];
    ParticipantAccessor accessor = participantAccessor(clusterName);
    accessor.swapParticipants(ParticipantId.from(oldParticipantName),
        ParticipantId.from(newParticipantName));
  }

  void resetPartition(String[] optValues) {
    String clusterName = optValues[0];
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.