cachestore-scheme
Used in: local-scheme, read-write-backing-map-scheme, versioned-backing-map-scheme.
Description
Cache store schemes define a mechanism for connecting a cache to a backend data store. The cache store scheme may use any class implementing either the ${xhtml} or ${xhtml} interfaces (or ${xhtml} or ${xhtml} for C++), where the former offers read-write capabilities, where the latter is read-only. Custom implementations of these interfaces may be produced to connect Coherence to various data stores. See the database cache sample for an example of using a cachestore-scheme.
Elements
The following table describes the elements you can define within the cachestore-scheme element.
| Element | Required/Optional | Description |
|---|---|---|
| <scheme-name> | Optional | Specifies the scheme's name. The name must be unique within a configuration file. |
| <scheme-ref> | Optional | Specifies the name of another scheme to inherit from. |
| <class-scheme> | Optional | Specifies the implementation of the cache store.
The specified class must implement one of the following two interfaces.
|
| <remote-cache-scheme> | Optional | Configures the cachestore-scheme to use Coherence*Extend as its cache store implementation. |
| <operation-bundling> | Optional | Specifies the configuration info for a bundling strategy. |
Labels:
None