VMware Tanzu GemFire .NET Client API Reference

VMware Tanzu GemFire .NET Client: IRegionFactory Interface Reference
VMware Tanzu GemFire .NET Client
IRegionFactory Interface Reference

This interface provides for the configuration and creation of instances of Region. More...

Inherited by RegionFactory.

Public Member Functions

IRegion< TKey, TValue > Create< TKey, TValue > (string regionName)
 Creates a region with the given name. The region is client side alias of a GemFire Region. The server side Region to which this client is connected with needs to be present in order to use this object. More...
 
IRegionFactory SetCacheListener< TKey, TValue > (ICacheListener< TKey, TValue > cacheListener)
 Sets the CacheListener for the Region being created. More...
 

Detailed Description

This interface provides for the configuration and creation of instances of Region.

Member Function Documentation

◆ Create< TKey, TValue >()

IRegion<TKey, TValue> IRegionFactory.Create< TKey, TValue > ( string  regionName)

Creates a region with the given name. The region is client side alias of a GemFire Region. The server side Region to which this client is connected with needs to be present in order to use this object.

Parameters
regionNamethe name of the region to create
Returns
new region
Exceptions
System.Data.DuplicateNameExceptionif a region with the same name is already in this cache
CacheClosedExceptionif the cache is closed
GemFireIllegalArgumentExceptionif RegionShortcut.PROXY is not used.

◆ SetCacheListener< TKey, TValue >()

IRegionFactory IRegionFactory.SetCacheListener< TKey, TValue > ( ICacheListener< TKey, TValue >  cacheListener)

Sets the CacheListener for the Region being created.

Parameters
cacheListeneruser-defined cache listener, or null for no cache listener
Returns
the instance of IRegionFactory

The documentation for this interface was generated from the following file:
  • gemfire.client/Interfaces/IRegionFactory.cs