This interface class is the superclass of all user objects
in the cache that can be used as a key.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.7.0.1
Syntax
| C# |
|---|
public interface ICacheableKey : IGFSerializable |
| Visual Basic (Declaration) |
|---|
Public Interface ICacheableKey _ Implements IGFSerializable |
| Visual C++ |
|---|
public interface class ICacheableKey : IGFSerializable |
Remarks
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
ICacheableKey Members
GemStone.GemFire.Cache Namespace