Cache APIs
The client has two cache APIs, RegionService
and Cache
.
RegionService API
RegionService
provides:
- Access to existing cache regions.
- Access to the query service for the cache, which sends queries to the servers. See Remote Querying and Continuous Querying.
RegionService
is inherited by Cache
.
You do not use instances of RegionService
except for secure client applications with many users. See Creating Multiple Secure User Connections with RegionService.
Cache API
Use the Cache
to manage your client caches. You have one Cache
per client.
The Cache
inherits RegionService
and adds management of these client caching features:
- Region creation.
- Subscription keepalive management for durable clients.
- Access to the underlying distributed system.
-
RegionService
creation for secure access by multiple users.