@Override
  public void toData(DataOutput out) throws IOException {
    DataSerializer.writeString(regionName, out);
    DataSerializer.writeString(regionAttributesId, out);
    DataSerializer.writePrimitiveInt(maxInactiveInterval, out);
    DataSerializer.writeObject(customExpiry, out);
    DataSerializer.writeBoolean(enableGatewayDeltaReplication, out);
    DataSerializer.writeBoolean(enableGatewayReplication, out);
    DataSerializer.writeBoolean(enableDebugListener, out);
    DataSerializer.writeString(cacheWriterName, out);
    DataSerializer.writeBoolean(enableSessionExpirationCacheListener, out);
  }
Returns whether a debug <code>CacheListener</code> is enabled.

@return whether a debug <code>CacheListener</code> is enabled
extensions/geode-modules/src/main/java/org/apache/geode/modules/util/RegionConfiguration.java