VMware Tanzu GemFire Native .NET Reference
10.1.5
|
This class wraps the native C++ apache::geode::client::Serializable
objects as managed ../../ISerializable objects.
More...
Inherits Apache::Geode::Client::Serializable, and Apache::Geode::Client::ICacheableKey.
Inherited by Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableBoolean, bool, static_cast< int8_t >(DSCode::CacheableBoolean)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableByte, Byte, static_cast< int8_t >(DSCode::CacheableByte)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableCharacter, Char, static_cast< int8_t >(DSCode::CacheableCharacter)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableDouble, Double, static_cast< int8_t >(DSCode::CacheableDouble)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableFloat, Single, static_cast< int8_t >(DSCode::CacheableFloat)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt16, System::Int16, static_cast< int8_t >(DSCode::CacheableInt16)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>, and Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>.
Public Member Functions | |
virtual bool | Equals (ICacheableKey^ other) |
Return true if this key matches other object. More... | |
virtual bool | Equals (Object^ obj) override |
Return true if this key matches other object. More... | |
virtual System::Int32 | GetHashCode () override |
Return the hashcode for this key. More... | |
virtual String ^ | ToString () override |
Return a string representation of the object. More... | |
Static Public Member Functions | |
static | operator CacheableKey^ (bool value) |
Implicit conversion operator from a boolean to a CacheableKey . More... | |
static | operator CacheableKey^ (Byte value) |
Implicit conversion operator from a byte to a CacheableKey . More... | |
static | operator CacheableKey^ (Char value) |
Implicit conversion operator from a character to a CacheableKey . More... | |
static | operator CacheableKey^ (Double value) |
Implicit conversion operator from a double to a CacheableKey . More... | |
static | operator CacheableKey^ (Single value) |
Implicit conversion operator from a float to a CacheableKey . More... | |
static | operator CacheableKey^ (String^ value) |
Implicit conversion operator from a string to a CacheableKey . More... | |
static | operator CacheableKey^ (System::Int16 value) |
Implicit conversion operator from a 16-bit integer to a CacheableKey . More... | |
static | operator CacheableKey^ (System::Int32 value) |
Implicit conversion operator from a 32-bit integer to a CacheableKey . More... | |
static | operator CacheableKey^ (System::Int64 value) |
Implicit conversion operator from a 64-bit integer to a CacheableKey . More... | |
Properties | |
virtual System::UInt64 | ObjectSize [get] |
return the size of this object in bytes More... | |
This class wraps the native C++ apache::geode::client::Serializable
objects as managed ../../ISerializable objects.
|
virtual |
Return true if this key matches other object.
It invokes the '==' operator of the underlying apache::geode::client::CacheableKey
object.
Implements Apache::Geode::Client::ICacheableKey.
Reimplemented in Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt16, System::Int16, static_cast< int8_t >(DSCode::CacheableInt16)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableCharacter, Char, static_cast< int8_t >(DSCode::CacheableCharacter)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableFloat, Single, static_cast< int8_t >(DSCode::CacheableFloat)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableDouble, Double, static_cast< int8_t >(DSCode::CacheableDouble)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableByte, Byte, static_cast< int8_t >(DSCode::CacheableByte)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableBoolean, bool, static_cast< int8_t >(DSCode::CacheableBoolean)>, and Apache::Geode::Client::CacheableString.
|
overridevirtual |
Return true if this key matches other object.
It invokes the '==' operator if the underlying object is a apache::geode::client::CacheableKey
, else returns System.Object.Equals()
Reimplemented in Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt16, System::Int16, static_cast< int8_t >(DSCode::CacheableInt16)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableCharacter, Char, static_cast< int8_t >(DSCode::CacheableCharacter)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableFloat, Single, static_cast< int8_t >(DSCode::CacheableFloat)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableDouble, Double, static_cast< int8_t >(DSCode::CacheableDouble)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableByte, Byte, static_cast< int8_t >(DSCode::CacheableByte)>, and Apache::Geode::Client::CacheableBuiltinKey< native::CacheableBoolean, bool, static_cast< int8_t >(DSCode::CacheableBoolean)>.
|
overridevirtual |
Return the hashcode for this key.
It gets the hash code by calling the hashcode()
function of the underlying apache::geode::client::CacheableKey
object.
Implements Apache::Geode::Client::ICacheableKey.
Reimplemented in Apache::Geode::Client::CacheableString.
|
static |
Implicit conversion operator from a boolean to a CacheableKey
.
|
static |
Implicit conversion operator from a byte to a CacheableKey
.
|
static |
Implicit conversion operator from a character to a CacheableKey
.
|
static |
Implicit conversion operator from a double to a CacheableKey
.
|
static |
Implicit conversion operator from a float to a CacheableKey
.
|
static |
Implicit conversion operator from a string to a CacheableKey
.
|
static |
Implicit conversion operator from a 16-bit integer to a CacheableKey
.
|
static |
Implicit conversion operator from a 32-bit integer to a CacheableKey
.
|
static |
Implicit conversion operator from a 64-bit integer to a CacheableKey
.
|
overridevirtualinherited |
Return a string representation of the object.
It simply returns the string representation of the underlying native object by calling its toString()
function.
Implements Apache::Geode::Client::ISerializable.
Reimplemented in Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt16, System::Int16, static_cast< int8_t >(DSCode::CacheableInt16)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableCharacter, Char, static_cast< int8_t >(DSCode::CacheableCharacter)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableFloat, Single, static_cast< int8_t >(DSCode::CacheableFloat)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableDouble, Double, static_cast< int8_t >(DSCode::CacheableDouble)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableByte, Byte, static_cast< int8_t >(DSCode::CacheableByte)>, and Apache::Geode::Client::CacheableBuiltinKey< native::CacheableBoolean, bool, static_cast< int8_t >(DSCode::CacheableBoolean)>.
|
getinherited |
return the size of this object in bytes