Click or drag to resize
IGFDelta Interface

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.Cache
Assembly: 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

The IGFDelta type exposes the following members.

Methods
  NameDescription
Public methodFromDelta
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.
Public methodHasDelta
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 ).
Public methodToDelta
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