This section describes the
- CacheFactory class. Creates a
Cacheinstance based on the provided distributed system and cache configuration. Any
cache.xmlfiles provided to the application are used to initialize the system and cache. See Setting System and Cache Properties. If a
cache.xmlfile is used to create a cache and some of the regions already exist, a warning states that the regions exist and the cache is created.
- Cache class. This class is the entry point to the GemFire caching API. This class allows you to create regions. The cache is created by calling the
createfunction of the
CacheFactoryclass. When creating a cache, you specify a
DistributedSystemthat tells the new cache where to find other caches on the network and how to communicate with them.