This interface class is the superclass of all user objects in the cache that can be used as a key.

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


public interface ICacheableKey : IGFSerializable
Visual Basic (Declaration)
Public Interface ICacheableKey _
	Implements IGFSerializable
Visual C++
public interface class ICacheableKey : IGFSerializable


If an implementation is required to act as a key in the cache, then it must implement this interface and preferably override System.Object.ToString to obtain proper string representation. Note that this interface requires that the class overrides Object.GetHashCode. Though this is not enforced, the default implementation in System.Object is almost certainly incorrect and will not work correctly.

See Also