IRegion TKey, TValue  MembersPivotal GemFire .NET Client Documentation

The IRegion TKey, TValue  type exposes the following members.
Methods

  NameDescription
Public methodAdd(KeyValuePair TKey, TValue )
Public methodAdd(TKey, TValue)
Adds an element with the provided key and value to the IDictionary TKey, TValue .
(Inherited from IDictionary TKey, TValue .)
Public methodAdd(TKey, TValue)
Adds an element with the provided key and value to the IDictionary.
Public methodAdd(TKey, TValue, Object)
Creates a new entry in this region with the specified key and value, passing the callback argument to any cache writers and cache listeners that are invoked in the operation.
Public methodClear 
Public methodClear(Object)
remove all entries in the region. For local region instance - remove all entries in the local region. For distributed region instance - remove all entries in the local region, and propagate the operation to server.
Public methodContains
Determines whether the ICollection contains a specific value.
Public methodContainsKey(TKey)
Determines whether the IDictionary TKey, TValue  contains an element with the specified key.
(Inherited from IDictionary TKey, TValue .)
Public methodContainsKey(TKey)
Determines whether the IDictionary contains an element with the specified key.
Public methodContainsValueForKey
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index. This operation copies entries from local region only.
Public methodCreateSubRegion
Creates a subregion with the given name and attributes.
Public methodDestroyRegion 
Destroys the whole distributed region and provides a user-defined parameter object to any ICacheWriter invoked in the process.
Public methodDestroyRegion(Object)
Destroys the whole distributed region and provides a user-defined parameter object to any ICacheWriter invoked in the process.
Public methodExistsValue(String)
Public methodExistsValue(String, UInt32)
Public methodGet
Returns the value for the given key, passing the callback argument to any cache loaders or that are invoked in the operation.
Public methodGetAll(ICollection TKey , IDictionary TKey, TValue , IDictionary TKey, Exception )
Gets values for collection of keys from the local cache or server. If value for a key is not present locally then it is requested from the java server. The value returned is not copied, so multi-threaded applications should not modify the value directly, but should use the update methods. For local region instance - this method is not applicable. Updates the LastAccessedTime and [!:CacheStatistics.HitCount] and [!:CacheStatistics.MissCount] for this region and the entry.
Public methodGetAll(ICollection TKey , IDictionary TKey, TValue , IDictionary TKey, Exception , Boolean)
Gets values for collection of keys from the local cache or server. If value for a key is not present locally then it is requested from the java server. The value returned is not copied, so multi-threaded applications should not modify the value directly, but should use the update methods. For local region instance - this method is not applicable. Updates the LastAccessedTime and [!:CacheStatistics.HitCount] and [!:CacheStatistics.MissCount] for this region and the entry.
Public methodGetAll(ICollection TKey , IDictionary TKey, TValue , IDictionary TKey, Exception , Boolean, Object)
Gets values for collection of keys from the local cache or server. If value for a key is not present locally then it is requested from the java server. The value returned is not copied, so multi-threaded applications should not modify the value directly, but should use the update methods. For local region instance - this method is not applicable. Updates the LastAccessedTime and [!:CacheStatistics.HitCount] and [!:CacheStatistics.MissCount] for this region and the entry.
Public methodGetEntries
Public methodGetEntry
Public methodGetEnumerator
Public methodGetEnumeratorOld
Public methodGetLocalView
Public methodGetSubRegion
Returns the subregion identified by the path, null if no such subregion.
Public methodGetSubscriptionService
Public methodInvalidate(TKey)
Public methodInvalidate(TKey, Object)
Public methodInvalidateRegion 
Invalidates this region.
Public methodInvalidateRegion(Object)
Invalidates this region.
Public methodPut
Puts a new value into an entry in this region with the specified key, passing the callback argument to any cache writers and cache listeners that are invoked in the operation.
Public methodPutAll(IDictionary TKey, TValue )
Puts a (IDictionary) generic collection of key/value pairs in this region.
Public methodPutAll(IDictionary TKey, TValue , Int32)
Puts a (IDictionary) generic collection of key/value pairs in this region.
Public methodPutAll(IDictionary TKey, TValue , Int32, Object)
Puts a (IDictionary) generic collection of key/value pairs in this region.
Public methodQuery TResult (String)
Public methodQuery TResult (String, UInt32)
Public methodRemove(TKey)
Removes the element with the specified key from the IDictionary TKey, TValue .
(Inherited from IDictionary TKey, TValue .)
Public methodRemove(KeyValuePair TKey, TValue )
Removes a key and value from the dictionary.
Public methodRemove(TKey)
Removes the element with the specified key from the IDictionary.
Public methodRemove(TKey, Object)
Removes the entry with the specified key, passing the callback argument to any cache writers that are invoked in the operation.
Public methodRemove(TKey, TValue, Object)
Removes the entry with the specified key and value, passing the callback argument to any cache writers that are invoked in the operation.
Public methodRemoveAll(ICollection TKey )
Removes all of the entries for the specified keys from this region. The effect of this call is equivalent to that of calling {@link #destroy(Object)} on this region once for each key in the specified collection. If an entry does not exist that key is skipped; EntryNotFoundException is not thrown. For local region instance - this method is not applicable. Updates the LastAccessedTime and [!:CacheStatistics.HitCount] and [!:CacheStatistics.MissCount] for this region and the entry.
Public methodRemoveAll(ICollection TKey , Object)
Removes all of the entries for the specified keys from this region. The effect of this call is equivalent to that of calling {@link #remove(Object)} on this region once for each key in the specified collection. If an entry does not exist that key is skipped; EntryNotFoundException is not thrown. For local region instance - this method is not applicable. Updates the LastAccessedTime and [!:CacheStatistics.HitCount] and [!:CacheStatistics.MissCount] for this region and the entry.
Public methodSelectValue(String)
Public methodSelectValue(String, UInt32)
Public methodSubRegions
Returns the subregions of this region.
Public methodTryGetValue(TKey, TValue )
Gets the value associated with the specified key.
(Inherited from IDictionary TKey, TValue .)
Public methodTryGetValue(TKey, TValue )
Gets the value associated with the specified key.
Back to Top
Properties

  NameDescription
Public propertyAttributes
Returns the attributes for this region, which can be used to create a new region with [!:Cache.CreateRegion].
Public propertyAttributesMutator
Return a mutator object for changing a subset of the region attributes.
Public propertyCache
Gets the cache for this region.
Public propertyCount
Public propertyFullPath
Gets the region's full path, which can be used to get this region object with GetRegion(String).
Public propertyIsDestroyed
True if this region has been destroyed.
Public propertyIsReadOnly
This property throws NotImplementedException when called by both local and distributed region instances.
Public propertyItem TKey 
Gets or sets the element with the specified key.
(Inherited from IDictionary TKey, TValue .)
Public propertyItem TKey 
Gets or sets the element with the specified key.
Public propertyKeys
Gets an ICollection T  containing the keys of the IDictionary TKey, TValue .
(Inherited from IDictionary TKey, TValue .)
Public propertyKeys
Gets an ICollection containing the keys of the IDictionary Returns all the keys for this region. This includes keys for which the entry is invalid. For local region instance - gets collection of keys from local cache only. For distributed region instance - gets collection of keys from the Gemfire cache server.
Public propertyName
Gets the region name.
Public propertyParentRegion
Gets the parent region.
Public propertyRegionService
Gets the RegionService for this region.
Public propertyStatistics
Returns the statistics for this region.
Public propertyValues
Gets an ICollection T  containing the values in the IDictionary TKey, TValue .
(Inherited from IDictionary TKey, TValue .)
Public propertyValues
Back to Top
See Also