@Override
  public void fromData(DataInput in) throws IOException, ClassNotFoundException {
    regionName = DataSerializer.readString(in);
    regionAttributesId = DataSerializer.readString(in);
    maxInactiveInterval = DataSerializer.readPrimitiveInt(in);
    customExpiry = DataSerializer.readObject(in);
    enableGatewayDeltaReplication = DataSerializer.readBoolean(in);
    enableGatewayReplication = DataSerializer.readBoolean(in);
    enableDebugListener = DataSerializer.readBoolean(in);
    cacheWriterName = DataSerializer.readString(in);

    // This allows for backwards compatibility with 2.1 clients
    if (((InputStream) in).available() > 0) {
      enableSessionExpirationCacheListener = DataSerializer.readBoolean(in);
    } else {
      enableSessionExpirationCacheListener = false;
    }
  }
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