Examples of disableParticipant()


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

    ParticipantAccessor accessor = participantAccessor(clusterName);
    if (enabled) {
      accessor.enableParticipant(ParticipantId.from(instanceId));
    } else {
      accessor.disableParticipant(ParticipantId.from(instanceId));
    }
  }

  void enablePartition(String[] optValues) {
    boolean enabled = Boolean.parseBoolean(optValues[0].toLowerCase());
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.