public ClientCacheFactory setPdxSerializer(PdxSerializer serializer) {
    cacheConfig.setPdxSerializer(serializer);
    return this;
  }
Set the PDX serializer for the cache. If this serializer is set, it will be consulted to see if
it can serialize any domain classes which are added to the cache in portable data exchange
format.

@param serializer the serializer to use
@return this ClientCacheFactory
@see PdxSerializer
@since GemFire 6.6
geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java