ICacheableKey hash set wrapper that can serve as a distributable object for caching. This is provided for compability with java side though is functionally identical to CacheableHashSet i.e. does not provide the linked semantics of java LinkedHashSet. Public Member Functions | |
| virtual void | Add (ICacheableKey^ item) |
| CacheableLinkedHashSet (int32_t size) | |
| CacheableLinkedHashSet () | |
| virtual void | Clear () |
| virtual bool | Contains (ICacheableKey^ item) |
| virtual void | CopyTo (array< ICacheableKey^ >^array, int32_t arrayIndex) |
| virtual IGFSerializable^ | FromData (DataInput^ input) |
| virtual IEnumerator < ICacheableKey^ >^ | GetEnumerator () |
| virtual bool | Remove (ICacheableKey^ item) |
| virtual void | Resize (int32_t size) sealed |
| virtual void | Swap (CacheableHashSetType< gemfire::CacheableLinkedHashSet >^other) sealed |
| virtual void | ToData (DataOutput^ output) |
| virtual String^ | ToString () override |
Static Public Member Functions | |
| static CacheableLinkedHashSet^ | Create (int32_t size) |
| static CacheableLinkedHashSet^ | Create () |
| static | operator Serializable^ (array< String^ >^value) |
| static | operator Serializable^ (String^ value) |
| static | operator Serializable^ (array< int64_t >^value) |
| static | operator Serializable^ (int64_t value) |
| static | operator Serializable^ (array< int32_t >^value) |
| static | operator Serializable^ (int32_t value) |
| static | operator Serializable^ (array< int16_t >^value) |
| static | operator Serializable^ (Char value) |
| static | operator Serializable^ (int16_t value) |
| static | operator Serializable^ (array< Single >^value) |
| static | operator Serializable^ (Single value) |
| static | operator Serializable^ (array< Double >^value) |
| static | operator Serializable^ (Double value) |
| static | operator Serializable^ (array< Byte >^value) |
| static | operator Serializable^ (Byte value) |
| static | operator Serializable^ (bool value) |
| static void | RegisterType (TypeFactoryMethod^ creationMethod) |
Protected Member Functions | |
| C (int32_t size) | |
| C () | |
| C (gemfire::Serializable *nativeptr) | |
Properties | |
| int32_t | BucketCount [get] |
| virtual uint32_t | ClassId [get] |
| virtual int32_t | Count [get] |
| bool | IsEmpty [get] |
| virtual bool | IsReadOnly [get] |
| int32_t | MaxSize [get] |
| virtual uint32_t | ObjectSize [get] |
| GemStone::GemFire::Cache::CacheableLinkedHashSet::CacheableLinkedHashSet | ( | ) | [inline] |
Allocates a new empty instance.
| GemStone::GemFire::Cache::CacheableLinkedHashSet::CacheableLinkedHashSet | ( | int32_t | size | ) | [inline] |
Allocates a new instance with the given size.
| size | the intial size of the new instance |
| virtual void GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::Add | ( | ICacheableKey^ | item | ) | [inline, virtual, inherited] |
| GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::C | ( | int32_t | size | ) | [inline, protected, inherited] |
Allocates a new empty instance with given initial size.
| size | The initial size of the HashSet. |
| GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::C | ( | ) | [inline, protected, inherited] |
Allocates a new empty instance.
| GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::C | ( | gemfire::Serializable * | nativeptr | ) | [inline, protected, inherited] |
Private constructor to wrap a native object pointer
| nativeptr | The native object pointer |
| virtual void GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::Clear | ( | ) | [inline, virtual, inherited] |
Removes all items from the CacheableHashSet.
| virtual bool GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::Contains | ( | ICacheableKey^ | item | ) | [inline, virtual, inherited] |
Determines whether the CacheableHashSet contains a specific value.
| item | The object to locate in the CacheableHashSet. |
CacheableHashSet; otherwise false. | virtual void GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::CopyTo | ( | array< ICacheableKey^ >^ | array, | |
| int32_t | arrayIndex | |||
| ) | [inline, virtual, inherited] |
Copies the elements of the CacheableHashSet to an System.Array, starting at a particular System.Array index.
| array | The one-dimensional System.Array that is the destination of the elements copied from CacheableHashSet. The System.Array must have zero-based indexing. | |
| arrayIndex | The zero-based index in array at which copying begins. |
| IllegalArgumentException | arrayIndex is less than 0 or array is null. | |
| OutOfRangeException | arrayIndex is equal to or greater than the length of array. -or-The number of elements in the source CacheableHashSet is greater than the available space from arrayIndex to the end of the destination array. |
| static CacheableLinkedHashSet ^ GemStone::GemFire::Cache::CacheableLinkedHashSet::Create | ( | int32_t | size | ) | [inline, static] |
Static function to create a new instance with the given size.
| static CacheableLinkedHashSet ^ GemStone::GemFire::Cache::CacheableLinkedHashSet::Create | ( | ) | [inline, static] |
Static function to create a new empty instance.
| virtual IGFSerializable ^ GemStone::GemFire::Cache::Serializable::FromData | ( | DataInput^ | input | ) | [virtual, inherited] |
Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.
| input | the DataInput stream to use for reading the object data |
Implements GemStone::GemFire::Cache::IGFSerializable.
| virtual IEnumerator<ICacheableKey^> ^ GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::GetEnumerator | ( | ) | [inline, virtual, inherited] |
Returns an enumerator that iterates through the CacheableHashSet.
System.Collections.Generic.IEnumerator that can be used to iterate through the CacheableHashSet. | static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< String^ >^ | value | ) | [static, inherited] |
Implicit conversion operator from a string array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | String^ | value | ) | [static, inherited] |
Implicit conversion operator from a string to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< int64_t >^ | value | ) | [static, inherited] |
Implicit conversion operator from a 64-bit integer array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | int64_t | value | ) | [static, inherited] |
Implicit conversion operator from a 64-bit integer to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< int32_t >^ | value | ) | [static, inherited] |
Implicit conversion operator from a 32-bit integer array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | int32_t | value | ) | [static, inherited] |
Implicit conversion operator from a 32-bit integer to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< int16_t >^ | value | ) | [static, inherited] |
Implicit conversion operator from a 16-bit integer array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | Char | value | ) | [static, inherited] |
Implicit conversion operator from a character to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | int16_t | value | ) | [static, inherited] |
Implicit conversion operator from a 16-bit integer to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< Single >^ | value | ) | [static, inherited] |
Implicit conversion operator from a float array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | Single | value | ) | [static, inherited] |
Implicit conversion operator from a float to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< Double >^ | value | ) | [static, inherited] |
Implicit conversion operator from a double array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | Double | value | ) | [static, inherited] |
Implicit conversion operator from a double to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< Byte >^ | value | ) | [static, inherited] |
Implicit conversion operator from an array of bytes to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | Byte | value | ) | [static, inherited] |
Implicit conversion operator from a byte to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | bool | value | ) | [static, inherited] |
Implicit conversion operator from a boolean to a Serializable.
| static void GemStone::GemFire::Cache::Serializable::RegisterType | ( | TypeFactoryMethod^ | creationMethod | ) | [static, inherited] |
Register an instance factory method for a given type. This should be used when registering types that implement IGFSerializable.
| creationMethod | the creation function to register |
| IllegalArgumentException | if the method is null | |
| IllegalStateException | if the typeId has already been registered, or there is an error in registering the type; check Utils::LastError for more information in the latter case. |
| virtual bool GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::Remove | ( | ICacheableKey^ | item | ) | [inline, virtual, inherited] |
Removes the first occurrence of a specific object from the CacheableHashSet.
| item | The object to remove from the CacheableHashSet. |
CacheableHashSet; otherwise, false. This method also returns false if item is not found in the original CacheableHashSet. | virtual void GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::Resize | ( | int32_t | size | ) | [inline, sealed, virtual, inherited] |
Increases the bucket count to at least size elements.
| size | The new size of the HashSet. |
| virtual void GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::Swap | ( | CacheableHashSetType< gemfire::CacheableLinkedHashSet >^ | other | ) | [inline, sealed, virtual, inherited] |
Swap the contents of this CacheableHashSet with the given one.
| other | The other CacheableHashSet to use for swapping. |
| virtual void GemStone::GemFire::Cache::Serializable::ToData | ( | DataOutput^ | output | ) | [virtual, inherited] |
Serializes this native (C++) object.
| output | the DataOutput object to use for serializing the object |
Implements GemStone::GemFire::Cache::IGFSerializable.
| virtual String ^ GemStone::GemFire::Cache::Serializable::ToString | ( | ) | [override, virtual, inherited] |
Return a string representation of the object. It simply returns the string representation of the underlying native object by calling its toString() function.
Implements GemStone::GemFire::Cache::IGFSerializable.
Reimplemented in GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< TNative, TManaged, TYPEID >, GemStone::GemFire::Cache::CacheableString, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableFloat, Single, GemFireClassIds::CacheableFloat >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableByte, Byte, GemFireClassIds::CacheableByte >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableWideChar, Char, GemFireClassIds::CacheableCharacter >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableDouble, Double, GemFireClassIds::CacheableDouble >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64, int64_t, GemFireClassIds::CacheableInt64 >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableBoolean, bool, GemFireClassIds::CacheableBoolean >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt16, int16_t, GemFireClassIds::CacheableInt16 >, and GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt32, int32_t, GemFireClassIds::CacheableInt32 >.
int32_t GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::BucketCount [get, inherited] |
Get the number of buckets used by the HashSet.
virtual uint32_t GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::ClassId [get, inherited] |
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Reimplemented from GemStone::GemFire::Cache::Serializable.
virtual int32_t GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::Count [get, inherited] |
Gets the number of elements contained in the CacheableHashSet.
bool GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::IsEmpty [get, inherited] |
True if the CacheableHashSet's size is 0.
virtual bool GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::IsReadOnly [get, inherited] |
Gets a value indicating whether the collection is read-only.
CacheableHashSet int32_t GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >::MaxSize [get, inherited] |
Get the largest possible size of the CacheableHashSet.
virtual uint32_t GemStone::GemFire::Cache::Serializable::ObjectSize [get, inherited] |
return the size of this object in bytes
Implements GemStone::GemFire::Cache::IGFSerializable.