ICacheableKey hash set wrapper that can serve as a distributable object for caching. Public Member Functions | |
| virtual void | Add (ICacheableKey^ item) |
| CacheableHashSet (size_t size) | |
| CacheableHashSet () | |
| 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 (size_t size) sealed |
| virtual void | Swap (CacheableHashSetType< gemfire::CacheableHashSet >^other) sealed |
| virtual void | ToData (DataOutput^ output) |
| virtual String^ | ToString () override |
Static Public Member Functions | |
| static CacheableHashSet^ | Create (size_t size) |
| static CacheableHashSet^ | 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 (size_t size) | |
| C () | |
| C (gemfire::Serializable *nativeptr) | |
Properties | |
| size_t | BucketCount [get] |
| virtual uint32_t | ClassId [get] |
| virtual int32_t | Count [get] |
| bool | IsEmpty [get] |
| virtual bool | IsReadOnly [get] |
| size_t | MaxSize [get] |
| virtual uint32_t | ObjectSize [get] |
| GemStone::GemFire::Cache::CacheableHashSet::CacheableHashSet | ( | ) | [inline] |
Allocates a new empty instance.
| GemStone::GemFire::Cache::CacheableHashSet::CacheableHashSet | ( | size_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::CacheableHashSet >::Add | ( | ICacheableKey^ | item | ) | [inline, virtual, inherited] |
| GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::C | ( | size_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::CacheableHashSet >::C | ( | ) | [inline, protected, inherited] |
Allocates a new empty instance.
| GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::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::CacheableHashSet >::Clear | ( | ) | [inline, virtual, inherited] |
Removes all items from the CacheableHashSet.
| virtual bool GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::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::CacheableHashSet >::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 CacheableHashSet ^ GemStone::GemFire::Cache::CacheableHashSet::Create | ( | size_t | size | ) | [inline, static] |
Static function to create a new instance with the given size.
| static CacheableHashSet ^ GemStone::GemFire::Cache::CacheableHashSet::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::CacheableHashSet >::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::CacheableHashSet >::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::CacheableHashSet >::Resize | ( | size_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::CacheableHashSet >::Swap | ( | CacheableHashSetType< gemfire::CacheableHashSet >^ | 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 >.
size_t GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::BucketCount [get, inherited] |
Get the number of buckets used by the HashSet.
virtual uint32_t GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::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::CacheableHashSet >::Count [get, inherited] |
Gets the number of elements contained in the CacheableHashSet.
bool GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::IsEmpty [get, inherited] |
True if the CacheableHashSet's size is 0.
virtual bool GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::IsReadOnly [get, inherited] |
Gets a value indicating whether the collection is read-only.
CacheableHashSet size_t GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >::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.