Note: This API is now obsolete.
This interface is used for delta propagation.
To use delta propagation, an application class must implement interfaces IGFDelta as well as IGFSerializable.
The IGFDelta interface methods HasDelta( ), ToDelta( ) and FromDelta( ) must be implemented by the class, as these methods are used by GemFire
to detect the presence of delta in an object, to serialize the delta, and to apply a serialized delta to an existing object
of the class.
If a customized cloning method is required, the class must also implement the interface System.ICloneable.
To use cloning in delta propagation for a region, the region attribute for cloning must be enabled.
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 IGFDelta
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")>
Public Interface IGFDelta
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public interface class IGFDelta
[<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")>]
type IGFDelta = interface end
The IGFDelta type exposes the following members.
Methods
| Name | Description |
---|
 | FromDelta |
Reads in delta information to this object in a user-defined format. This is
invoked on an existing application object after GemFire determines the
presence of delta in DataInput instance.
|
 | HasDelta | HasDelta( ) is invoked by GemFire during Region.Put( ICacheableKey, IGFSerializable ) to determine if the object contains a delta.
If HasDelta( ) returns true, the delta in the object is serialized by invoking ToDelta( DataOutput ).
If HasDelta( ) returns false, the object is serialized by invoking IGFSerializable.ToData( DataOutput ).
|
 | ToDelta |
Writes out delta information to out in a user-defined format. This is
invoked on an application object after GemFire determines the presence
of delta in it by calling HasDelta() on the object.
|
Top
See Also