Click or drag to resize
CacheFactorySetPdxReadSerialized Method
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: 9.0.6.18
Syntax
public CacheFactory SetPdxReadSerialized(
	bool pdxReadSerialized
)

Parameters

pdxReadSerialized
Type: SystemBoolean

Return Value

Type: CacheFactory
a instance of CacheFactory
See Also