VMware GemFire Native Client .NET Framework API Reference
|
VMware VMware GemFire Native .NET Reference 10.4.3
|
A mutable ICacheableKey to ISerializable hash map that can serve as a distributable object for caching.
More...
#include <CacheableIdentityHashMap.hpp>
Inherits Apache::Geode::Client::CacheableHashMap.
Public Member Functions | |
| CacheableIdentityHashMap () | |
| Allocates a new empty instance. | |
| CacheableIdentityHashMap (Object^ dictionary) | |
| Allocates a new instance copying from the given dictionary. | |
| CacheableIdentityHashMap (System::Int32 capacity) | |
| Allocates a new empty instance with given initial size. | |
| virtual void | FromData (DataInput^ input) |
| Deserialize this object, typical implementation should return the 'this' pointer. | |
| virtual void | ToData (DataOutput^ output) |
| Serializes this object. | |
| String ^ | ToString () |
| Return a string representation of the object. | |
Static Public Member Functions | |
| static CacheableIdentityHashMap ^ | Create () |
| Static function to create a new empty instance. | |
| static CacheableIdentityHashMap ^ | Create (Object^ dictionary) |
| Static function to create a new instance copying from the given dictionary. | |
| static CacheableIdentityHashMap ^ | Create (System::Int32 capacity) |
| Static function to create a new instance with given initial size. | |
| static ISerializable ^ | CreateDeserializable () |
| Factory function to register this class. | |
Properties | |
| int8_t | DsCode [get] |
| Returns the classId of the instance being serialized. | |
| virtual System::UInt64 | ObjectSize [get] |
| return the size of this object in bytes | |
Detailed Description
A mutable ICacheableKey to ISerializable hash map that can serve as a distributable object for caching.
This class extends .NET generic Dictionary class. This class is meant as a means to interoperate with java server side IdentityHashMap class objects but is intentionally not intended to provide java.util.IdentityHashMap semantics.
Constructor & Destructor Documentation
◆ CacheableIdentityHashMap() [1/3]
|
inline |
Allocates a new empty instance.
◆ CacheableIdentityHashMap() [2/3]
|
inline |
Allocates a new instance copying from the given dictionary.
- Parameters
-
dictionary The dictionary whose elements are copied to this HashMap.
◆ CacheableIdentityHashMap() [3/3]
|
inline |
Allocates a new empty instance with given initial size.
- Parameters
-
capacity The initial capacity of the HashMap.
Member Function Documentation
◆ Create() [1/3]
|
inlinestatic |
Static function to create a new empty instance.
◆ Create() [2/3]
|
inlinestatic |
Static function to create a new instance copying from the given dictionary.
◆ Create() [3/3]
|
inlinestatic |
Static function to create a new instance with given initial size.
◆ CreateDeserializable()
|
inlinestatic |
Factory function to register this class.
◆ FromData()
|
virtualinherited |
Deserialize this object, typical implementation should return the 'this' pointer.
- Parameters
-
input the DataInput stream to use for reading the object data
- Returns
- the deserialized object
Reimplemented in Apache::Geode::Client::CacheableHashTable.
◆ ToData()
|
virtualinherited |
Serializes this object.
- Parameters
-
output the DataOutput object to use for serializing the object
◆ ToString()
|
inherited |
Return a string representation of the object.
Implemented in Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, 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)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>, Apache::Geode::Client::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinArray< NativeArray, NativeArray, ManagedType, DsCode >, Apache::Geode::Client::CacheableDate, Apache::Geode::Client::CacheableFileName, Apache::Geode::Client::CacheableObject, Apache::Geode::Client::CacheableObjectXml, Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableStringArray, Apache::Geode::Client::Properties< TPropKey, TPropValue >, Apache::Geode::Client::Properties< String^, String^>, and Apache::Geode::Client::Serializable.
Property Documentation
◆ DsCode
|
get |
Returns the classId of the instance being serialized.
This is used by deserialization to determine what instance type to create and deserialize into.
- Returns
- the classId
◆ ObjectSize
|
getinherited |
return the size of this object in bytes
Apache Geode C++ Cache .NET API Documentation