A mutable ICacheableKey to IGFSerializable hash map that can serve as a distributable object for caching. This class extends .NET generic Dictionary class.

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 8.2.4.0

Syntax

         
 C#  Visual Basic  Visual C++ 
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class CacheableHashMap : Dictionary<ICacheableKey, IGFSerializable>, 
	IGFSerializable
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")> _
Public Class CacheableHashMap _
	Inherits Dictionary(Of ICacheableKey, IGFSerializable) _
	Implements IGFSerializable
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public ref class CacheableHashMap : public Dictionary<ICacheableKey^, IGFSerializable^>, 
	IGFSerializable

Members

               
 All Members  Constructors   Properties   Methods   Explicit Interface Implementations  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CacheableHashMap()()()()
Allocates a new empty instance.
CacheableHashMap(Int32)
Allocates a new empty instance with given initial size.
CacheableHashMap(IDictionary<(Of <<'(ICacheableKey, IGFSerializable>)>>))
Allocates a new instance copying from the given dictionary.
Add(TKey, TValue)
Adds the specified key and value to the dictionary.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection<(Of <<'(KeyValuePair<(Of <<'(TKey, TValue>)>>)>)>>)..::..Add(KeyValuePair<(Of <<'(TKey, TValue>)>>)) (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..Add(Object, Object)
Adds the specified key and value to the dictionary.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Clear()()()()
Removes all keys and values from the Dictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
Comparer
Gets the IEqualityComparer<(Of <(<'T>)>)> that is used to determine equality of keys for the dictionary.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection<(Of <<'(KeyValuePair<(Of <<'(TKey, TValue>)>>)>)>>)..::..Contains(KeyValuePair<(Of <<'(TKey, TValue>)>>)) (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..Contains(Object)
Determines whether the IDictionary contains an element with the specified key.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ContainsKey(TKey)
Determines whether the Dictionary<(Of <(<'TKey, TValue>)>)> contains the specified key.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ContainsValue(TValue)
Determines whether the Dictionary<(Of <(<'TKey, TValue>)>)> contains a specific value.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection<(Of <<'(KeyValuePair<(Of <<'(TKey, TValue>)>>)>)>>)..::..CopyTo(array<KeyValuePair<(Of <<'(TKey, TValue>)>>)>[]()[][], Int32) (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection..::..CopyTo(Array, Int32)
Copies the elements of the ICollection<(Of <(<'T>)>)> to an array, starting at the specified array index.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
Count
Gets the number of key/value pairs contained in the Dictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
Create()()()()
Static function to create a new empty instance.
Create(Int32)
Static function to create a new instance with given initial size.
Create(IDictionary<(Of <<'(ICacheableKey, IGFSerializable>)>>))
Static function to create a new instance copying from the given dictionary.
CreateDeserializable()()()()
Factory function to register this class.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromData(DataInput)
Deserialize this object, typical implementation should return the 'this' pointer.
GetEnumerator()()()()
Returns an enumerator that iterates through the Dictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IEnumerable<(Of <<'(KeyValuePair<(Of <<'(TKey, TValue>)>>)>)>>)..::..GetEnumerator()()()() (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IEnumerable..::..GetEnumerator()()()()
Returns an enumerator that iterates through the collection.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..GetEnumerator()()()() (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
Implements the ISerializable interface and returns the data needed to serialize the Dictionary<(Of <(<'TKey, TValue>)>)> instance.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IDictionary..::..IsFixedSize
Gets a value indicating whether the IDictionary has a fixed size.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection<(Of <<'(KeyValuePair<(Of <<'(TKey, TValue>)>>)>)>>)..::..IsReadOnly (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..IsReadOnly
Gets a value indicating whether the IDictionary is read-only.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection..::..IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
Item[([( TKey])])
Gets or sets the value associated with the specified key.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..Item[([( Object])])
Gets or sets the value with the specified key.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
Keys
Gets a collection containing the keys in the Dictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary<(Of <<'(TKey, TValue>)>>)..::..Keys (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..Keys
Gets an ICollection containing the keys of the IDictionary.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ObjectSize
return the size of this object in bytes
OnDeserialization(Object)
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection<(Of <<'(KeyValuePair<(Of <<'(TKey, TValue>)>>)>)>>)..::..Remove(KeyValuePair<(Of <<'(TKey, TValue>)>>)) (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
Remove(TKey)
Removes the value with the specified key from the Dictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..Remove(Object)
Removes the element with the specified key from the IDictionary.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ICollection..::..SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
ToData(DataOutput)
Serializes this object.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TryGetValue(TKey, TValue%)
Gets the value associated with the specified key.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
Values
Gets a collection containing the values in the Dictionary<(Of <(<'TKey, TValue>)>)>.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary<(Of <<'(TKey, TValue>)>>)..::..Values (Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)
IDictionary..::..Values
Gets an ICollection containing the values in the IDictionary.
(Inherited from Dictionary<(Of <(<'ICacheableKey, IGFSerializable>)>)>.)

Inheritance Hierarchy

See Also