LATEST VERSION: 8.2.8 - CHANGELOG
Pivotal GemFire® v8.2

Programmatic Region Creation

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 (http://gemfire.docs.pivotal.io/index.html).