An immutable wrapper for 32-bit integers that can serve as a distributable key object for caching.
More...
#include <CacheableBuiltins.hpp>
Inherits Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>.
|
| CacheableInt32 () |
|
- Allocates a new instance with the given value.
|
|
| CacheableInt32 (System::Int32 value) |
|
- Allocates a new instance with the given value.
|
|
virtual bool | Equals (ICacheableKey^ other) override |
| Return true if this key matches other object.
|
|
virtual bool | Equals (Object^ obj) override |
| Return true if this key matches other object.
|
|
virtual System::Int32 | GetHashCode () override |
| Return the hashcode for this key.
|
|
bool | operator== (System::Int32 other) |
| Comparison operator against another value.
|
|
String ^ | ToString () override |
| Return a string representation of the object.
|
|
|
System::UInt64 | ObjectSize [get] |
| Get the size of this object in bytes.
|
|
virtual System::UInt64 | ObjectSize [get] |
| return the size of this object in bytes
|
|
System::Int32 | Value [get] |
| Gets the value.
|
|
An immutable wrapper for 32-bit integers that can serve as a distributable key object for caching.
◆ CacheableInt32() [1/2]
Apache::Geode::Client::CacheableInt32::CacheableInt32 |
( |
| ) |
|
|
inline |
- Allocates a new instance with the given value.
- *
- Parameters
-
value | the value of the new instance |
◆ CacheableInt32() [2/2]
Apache::Geode::Client::CacheableInt32::CacheableInt32 |
( |
System::Int32 |
value | ) |
|
|
inline |
- Allocates a new instance with the given value.
- *
- Parameters
-
value | the value of the new instance |
◆ Create()
static CacheableInt32 ^ Apache::Geode::Client::CacheableInt32::Create |
( |
System::Int32 |
value | ) |
|
|
inlinestatic |
- Static function to create a new instance given value.
- *
- Parameters
-
value | the value of the new instance |
◆ CreateDeserializable()
static ISerializable ^ Apache::Geode::Client::CacheableInt32::CreateDeserializable |
( |
| ) |
|
|
inlinestatic |
- Factory function to register this class.
◆ Equals() [1/2]
|
inlineoverridevirtualinherited |
◆ Equals() [2/2]
|
inlineoverridevirtualinherited |
◆ GetHashCode()
virtual System::Int32 Apache::Geode::Client::CacheableKey::GetHashCode |
( |
| ) |
|
|
overridevirtualinherited |
◆ operator CacheableKey^() [1/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
bool |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a boolean to a CacheableKey
.
◆ operator CacheableKey^() [2/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
Byte |
value | ) |
|
|
staticinherited |
◆ operator CacheableKey^() [3/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
Char |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a character to a CacheableKey
.
◆ operator CacheableKey^() [4/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
Double |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a double to a CacheableKey
.
◆ operator CacheableKey^() [5/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
Single |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a float to a CacheableKey
.
◆ operator CacheableKey^() [6/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
String^ |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a string to a CacheableKey
.
◆ operator CacheableKey^() [7/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
System::Int16 |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a 16-bit integer to a CacheableKey
.
◆ operator CacheableKey^() [8/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
System::Int32 |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a 32-bit integer to a CacheableKey
.
◆ operator CacheableKey^() [9/9]
static Apache::Geode::Client::CacheableKey::operator CacheableKey^ |
( |
System::Int64 |
value | ) |
|
|
staticinherited |
Implicit conversion operator from a 64-bit integer to a CacheableKey
.
◆ operator System::Int32()
static Apache::Geode::Client::CacheableInt32::operator System::Int32 |
( |
CacheableInt32 ^ |
value | ) |
|
|
inlineexplicitstatic |
- Explicit conversion operator to contained value type.
◆ operator==()
Comparison operator against another value.
◆ ToString()
◆ ObjectSize [1/2]
System:: UInt64 Apache::Geode::Client::ISerializable::ObjectSize |
|
getinherited |
Get the size of this object in bytes.
This is only needed if you use the HeapLRU feature.
Note that you can simply return zero if you are not using the HeapLRU feature.
- Returns
- the size of this object in bytes.
◆ ObjectSize [2/2]
virtual System:: UInt64 Apache::Geode::Client::Serializable::ObjectSize |
|
getinherited |
return the size of this object in bytes
◆ Value