An mutable generic Object wrapper that can serve as a distributable value for caching.

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

Syntax

C#
public class CacheableObject : IGFSerializable
Visual Basic (Declaration)
Public Class CacheableObject _
	Implements IGFSerializable
Visual C++
public ref 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.

Inheritance Hierarchy

System..::Object
  GemStone.GemFire.Cache..::CacheableObject

See Also