Package org.apache.helix.api.accessor

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


    String resourceName = optValues[2];
    String partitionName = optValues[3];

    Set<PartitionId> partitionIds = ImmutableSet.of(PartitionId.from(partitionName));
    ParticipantAccessor accessor = participantAccessor(clusterName);
    accessor.resetPartitionsForParticipant(ParticipantId.from(participantName),
        ResourceId.from(resourceName), partitionIds);
  }

  void resetResource(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.