Configuration
This is the manual for older MicroStream versions (Version < 5.0).
The new documentation (Version >= 5.0) is located at:
The default way to configure a JCache provider is to use the classjavax.cache.configuration.MutableConfiguration
. This is mostly used to avoid provider specific code.
If you want to use all of MicroStream's Cache features, you can use our configuration implementation: one.microstream.cache.CacheConfiguration
To read an external configuration use CacheConfigurationLoader
and CacheConfigurationParser
or the Load*()
methods of CacheConfiguration
.
If you just use CacheConfiguration.Load()
the default configuration file is used, which is either a file in the classpath root named microstream-cache.properties
, or the path configured via the system property microstream.cache.configuration.path
.
Last updated