Click or drag to resize
CacheableKey Class
This class wraps the native C++ gemfire::Serializable objects as managed [!:../../IGFSerializable] objects.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Serializable>]
    GemStone.GemFire.Cache.GenericSerializable
      GemStone.GemFire.Cache.GenericCacheableKey

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public class CacheableKey : Serializable, 
	ICacheableKey

The CacheableKey type exposes the following members.

Properties
  NameDescription
Public propertyClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
(Inherited from Serializable.)
Public propertyObjectSize
return the size of this object in bytes
(Inherited from Serializable.)
Top
Methods
  NameDescription
Public methodEquals(Object)
Return true if this key matches other object. It invokes the '==' operator if the underlying object is a gemfire::CacheableKey, else returns System.Object.Equals()
(Overrides ObjectEquals(Object).)
Public methodEquals(ICacheableKey)
Return true if this key matches other object. It invokes the '==' operator of the underlying gemfire::CacheableKey object.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromData
Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.
(Inherited from Serializable.)
Public methodGetHashCode
Return the hashcode for this key. It gets the hash code by calling the hashcode() function of the underlying gemfire::CacheableKey object.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToData
Serializes this native (C++) object.
(Inherited from Serializable.)
Public methodToString
Return a string representation of the object. It simply returns the string representation of the underlying native object by calling its toString() function.
(Inherited from Serializable.)
Top
Operators
  NameDescription
Public operatorStatic member(Boolean to CacheableKey)
Implicit conversion operator from a boolean to a CacheableKey.
Public operatorStatic member(Byte to CacheableKey)
Implicit conversion operator from a byte to a CacheableKey.
Public operatorStatic member(Char to CacheableKey)
Implicit conversion operator from a character to a CacheableKey.
Public operatorStatic member(Double to CacheableKey)
Implicit conversion operator from a double to a CacheableKey.
Public operatorStatic member(Int16 to CacheableKey)
Implicit conversion operator from a 16-bit integer to a CacheableKey.
Public operatorStatic member(Int32 to CacheableKey)
Implicit conversion operator from a 32-bit integer to a CacheableKey.
Public operatorStatic member(Int64 to CacheableKey)
Implicit conversion operator from a 64-bit integer to a CacheableKey.
Public operatorStatic member(Single to CacheableKey)
Implicit conversion operator from a float to a CacheableKey.
Public operatorStatic member(String to CacheableKey)
Implicit conversion operator from a string to a CacheableKey.
Top
See Also