@Override
  public void toData(DataOutput out) throws IOException {
    super.toData(out);
    DataSerializer.writeInteger(bucketId, out);
    DataSerializer.writeBoolean(isPrimary, out);
    DataSerializer.writeByte(version, out);
    out.writeByte(numServerGroups);
    if (numServerGroups > 0) {
      for (String s : serverGroups) {
        DataSerializer.writeString(s, out);
      }
    }
  }
Represents the {@link ServerLocation} of a {@link BucketRegion}


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