Oracle Coherence
This is an enterprise feature. |
<dependency>
<groupId>one.microstream</groupId>
<artifactId>microstream-enterprise-afs-oracle-coherence</artifactId>
<version>06.01.00-MS-GA</version>
</dependency>
NamedCache cache = CacheFactory.getCache("cache-name");
BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New(
CoherenceConnector.Caching(cache)
);
EmbeddedStorage.start(fileSystem.ensureDirectoryPath("microstream_storage"));
Configuration
When using external configuration Coherence can be set as follows.
microstream-storage.properties
storage-filesystem.oracle.coherence.cache-name=my-cache
Property | Description |
---|---|
cache-name |
The name of the cache which is used to retrieve the named cache from the cache factory. |
cache-config |
It is used to specify a custom cache configuration deployment descriptor to be used instead of the configured default cache configuration deployment descriptor. |