CacheableObject ClassPivotal GemFire .NET Client Documentation
An mutable generic Object wrapper that can serve as a distributable value for caching.
Inheritance Hierarchy

System Object
  GemStone.GemFire.Cache CacheableObject

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

[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class CacheableObject : IGFSerializable
Remarks

This class can serialize any class which has either the [Serializable] attribute set or implements ISerializable interface. However, for better efficiency the latter should be avoided and the user should implement IGFSerializable instead.

The user must keep in mind that the rules that apply to runtime serialization would be the rules that apply to this class. For the serialization will be carried out by serializing all the members (public/private/protected) of the class. Each of the contained classes should also have either the [Serializable] attribute set or implement ISerializable interface.

See Also