@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeString(cacheLoaderDesc, out);
    DataSerializer.writeString(cacheWriterDesc, out);
    DataSerializer.writeStringArray(cacheListenerDescs, out);
    DataSerializer.writeString(capacityControllerDesc, out);
    DataSerializer.writeObject(keyConstraint, out);
    DataSerializer.writeObject(valueConstraint, out);
    DataSerializer.writeObject(rTtl, out);
    DataSerializer.writeObject(rIdleTimeout, out);
    DataSerializer.writeObject(eTtl, out);
    DataSerializer.writeString(customEttlDesc, out);
    DataSerializer.writeObject(eIdleTimeout, out);
    DataSerializer.writeString(customEIdleDesc, out);
    DataSerializer.writeObject(dataPolicy, out);
    DataSerializer.writeObject(scope, out);
    out.writeBoolean(statsEnabled);
    out.writeBoolean(ignoreJTA);
    out.writeInt(concurrencyLevel);
    out.writeFloat(loadFactor);
    out.writeInt(initialCapacity);
    out.writeBoolean(earlyAck);
    out.writeBoolean(multicastEnabled);
    out.writeBoolean(enableSubscriptionConflation);
    out.writeBoolean(publisher);
    out.writeBoolean(enableAsyncConflation);

    DataSerializer.writeObject(diskWriteAttributes, out);
    DataSerializer.writeObject(diskDirs, out);
    DataSerializer.writeObject(diskSizes, out);
    out.writeBoolean(indexMaintenanceSynchronous);
    DataSerializer.writeObject(partitionAttributes, out);
    DataSerializer.writeObject(membershipAttributes, out);
    DataSerializer.writeObject(subscriptionAttributes, out);
    DataSerializer.writeObject(evictionAttributes, out);
    out.writeBoolean(cloningEnable);
    DataSerializer.writeString(diskStoreName, out);
    out.writeBoolean(isDiskSynchronous);
    DataSerializer.writeStringArray(gatewaySendersDescs, out);
    out.writeBoolean(isGatewaySenderEnabled);

    out.writeBoolean(concurrencyChecksEnabled);

    DataSerializer.writeString(compressorDesc, out);
    out.writeBoolean(offHeap);
  }
For use only by DataExternalizable mechanism
geode-core/src/main/java/org/apache/geode/internal/admin/remote/RemoteRegionAttributes.java