Options for Configuring the Cache and Data Regions

To populate your vFabric GemFire cache and fine-tune its storage and distribution behavior, you need to define cached data regions and provide custom configuration for the cache and regions.

Cache configuration properties define:
  • Cache-wide settings such as disk stores, communication timeouts, and settings designating the member as a server or WAN gateway
  • Cache data regions
Configure the cache and its data regions through one or both of these methods:
  • Through declarations in the XML file named in the cache-xml-file gemfire.properties setting. This file is generally referred to as the cache.xml file, but it can have any name. See cache.xml (Declarative Cache Configuration File).
  • Through application calls to the com.gemstone.gemfire.cache.CacheFactory, com.gemstone.gemfire.cache.Cache and com.gemstone.gemfire.cache.Region APIs.