public CacheFactory setPdxPersistent(boolean isPersistent) {
    internalCacheBuilder.setPdxPersistent(isPersistent);
    return this;
  }
Control whether the type metadata for PDX objects is persisted to disk. The default for this
setting is false. If you are using persistent regions with PDX then you must set this to true.
If you are using a {@code GatewaySender} or {@code AsyncEventQueue} with PDX then you should
set this to true.

@param isPersistent true if the metadata should be persistent
@return this CacheFactory
@since GemFire 6.6
geode-core/src/main/java/org/apache/geode/cache/CacheFactory.java