public ServerLocation advisePrimaryServerLocation(int bucketId) {
    if (bucketServerLocationsMap.containsKey(bucketId)) {
      List<BucketServerLocation66> locations = bucketServerLocationsMap.get(bucketId);
      List<BucketServerLocation66> locationsCopy = new ArrayList<>(locations);
      for (BucketServerLocation66 loc : locationsCopy) {
        if (loc.isPrimary()) {
          return loc;
        }
      }
    }
    return null;
  }
Stores the information such as partition attributes and meta data details


@since GemFire 6.5
geode-core/src/main/java/org/apache/geode/cache/client/internal/ClientPartitionAdvisor.java