@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeString(configName, out);
    DataSerializer.writeString(cacheXmlFileName, out);
    DataSerializer.writeString(cacheXmlContent, out);
    DataSerializer.writeString(propertiesFileName, out);
    DataSerializer.writeProperties(gemfireProperties, out);
    // As of 1.12, it writes a jarNames HashSet to the stream, so that pre 1.12.0 members can
    // read the jarName, and will now also write the deployment map for the post 1.12.0 members.
    HashSet<String> jarNames = new HashSet<>(deployments.keySet());
    DataSerializer.writeHashSet(jarNames, out);
    // As of 1.12, this class starting writing the current version
    VersioningIO.writeOrdinal(out, KnownVersion.getCurrentVersion().ordinal(), true);
    DataSerializer.writeHashMap(deployments, out);
  }
Domain object for all the configuration related data.
geode-core/src/main/java/org/apache/geode/management/internal/configuration/domain/Configuration.java