IGFSerializable Interface |
Note: This API is now obsolete.
This interface class is the superclass of all user objects
in the cache that can be serialized.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public interface IGFSerializable
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")>
Public Interface IGFSerializable
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public interface class IGFSerializable
[<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")>]
type IGFSerializable = interface end
The IGFSerializable type exposes the following members.
Properties
| Name | Description |
---|
 | ClassId |
Returns the classId of the instance being serialized.
This is used by deserialization to determine what instance
type to create and deserialize into.
|
 | ObjectSize |
Get the size of this object in bytes.
This is only needed if you use the HeapLRU feature.
|
Top
Methods
| Name | Description |
---|
 | FromData |
Deserialize this object, typical implementation should return
the 'this' pointer.
|
 | ToData |
Serializes this object.
|
 | ToString |
Return a string representation of the object.
|
Top
See Also