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

OnlineSystem Object
  GemStone.GemFire.Cache.Generic CacheableObject

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

public class CacheableObject : IGFSerializable

This class can serialize any class which has either the [Serializable] attribute set or implements OnlineISerializable 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