CacheFactory SetPdxReadSerialized Method Pivotal GemFire .NET Client Documentation
Sets the object preference to PdxInstance type. When a cached object that was serialized as a PDX is read from the cache a {@link PdxInstance} will be returned instead of the actual domain class. The PdxInstance is an interface that provides run time access to the fields of a PDX without deserializing the entire PDX. The PdxInstance implementation is a light weight wrapper that simply refers to the raw bytes of the PDX that are kept in the cache. Using this method applications can choose to access PdxInstance instead of Java object. Note that a PdxInstance is only returned if a serialized PDX is found in the cache. If the cache contains a deserialized PDX, then a domain class instance is returned instead of a PdxInstance.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version:

public CacheFactory SetPdxReadSerialized(
	bool pdxReadSerialized


Type: System Boolean

Return Value

a instance of CacheFactory
See Also