Click or drag to resize
IRegionTKey, TValue Interface

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public interface IRegion<TKey, TValue> : IDictionary<TKey, TValue>

Type Parameters

TKey
TValue

The IRegionTKey, TValue type exposes the following members.

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 [!:Cache.GetRegion].
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
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
Top
Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, 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
Public methodContainsKey
Determines whether the IDictionary contains an element with the specified key.
Public methodContainsValueForKey
Public methodCopyTo
Public methodCreateSubRegion
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(ICollectionTKey, IDictionaryTKey, TValue, IDictionaryTKey, Exception)
Public methodGetAll(ICollectionTKey, IDictionaryTKey, TValue, IDictionaryTKey, Exception, Boolean)
Public methodGetAll(ICollectionTKey, IDictionaryTKey, TValue, IDictionaryTKey, Exception, Boolean, Object)
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(IDictionaryTKey, TValue)
Public methodPutAll(IDictionaryTKey, TValue, Int32)
Public methodPutAll(IDictionaryTKey, TValue, Int32, Object)
Public methodQueryTResult(String)
Public methodQueryTResult(String, UInt32)
Public methodRemove(KeyValuePairTKey, TValue)
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(ICollectionTKey)
Public methodRemoveAll(ICollectionTKey, Object)
Public methodSelectValue(String)
Public methodSelectValue(String, UInt32)
Public methodSubRegions
Returns the subregions of this region.
Public methodTryGetValue
Gets the value associated with the specified key.
Top
See Also