Programmatic Region Creation

You create regions programmatically with the regionFactory class.

Note: Before creating a region, specify region attributes. See Region Attributes.
Create your regions using the regionFactory class.
C++ RegionFactory Example
RegionFactoryPtr regionFactory =
    cachePtr->createRegionFactory(CACHING_PROXY);
RegionPtr regPtr0 = regionFactory->setLruEntriesLimit(20000)
        ->create("exampleRegion0");
	
Note: For more information on how to create a region, see Pivotal GemFire Native Client C++ API, Pivotal GemFire Native Client C# .NET API, and the native client API reference (https://www.vmware.com/support/pubs/vfabric-apiref.html).