Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CDI integration cache configuration keys #395

Merged
merged 1 commit into from
Jul 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,45 +45,45 @@ public enum CacheProperties implements Supplier<String>
* cacheLoaderFactory - A CacheLoader should be configured
* for "Read Through" caches to load values when a cache miss occurs.
*/
CACHE_LOADER_FACTORY(PREFIX + "cache.loader.factory"),
CACHE_LOADER_FACTORY(PREFIX.get() + "cache.loader.factory"),
/**
* cacheWriterFactory - A CacheWriter is used for write-through to an external resource.
*/
CACHE_WRITER_FACTORY(PREFIX + "cache.writer.factory"),
CACHE_WRITER_FACTORY(PREFIX.get() + "cache.writer.factory"),
/**
* expiryPolicyFactory - Determines when cache entries will expire based on creation,
* access and modification operations.
*/
CACHE_EXPIRES_FACTORY(PREFIX + "cache.expires.factory"),
CACHE_EXPIRES_FACTORY(PREFIX.get() + "cache.expires.factory"),
/**
* readThrough - When in "read-through" mode, cache misses that occur due to cache entries not existing
* as a result of performing a "get" will appropriately cause the configured CacheLoader to be invoked.
*/
CACHE_READ_THROUGH(PREFIX + "cache.read.through"),
CACHE_READ_THROUGH(PREFIX.get() + "cache.read.through"),
/**
* writeThrough - When in "write-through" mode, cache updates that occur as a result
* of performing "put" operations will appropriately cause the configured CacheWriter to be invoked.
*/
CACHE_WRITE_THROUGH(PREFIX + "cache.write.through"),
CACHE_WRITE_THROUGH(PREFIX.get() + "cache.write.through"),
/**
* storeByValue - When a cache is storeByValue,
* any mutation to the key or value does not affect the key of value stored in the cache.
*/
CACHE_STORE_VALUE(PREFIX + "cache.store.value"),
CACHE_STORE_VALUE(PREFIX.get() + "cache.store.value"),
/**
* statisticsEnabled - Checks whether statistics collection is enabled in this cache.
*/
CACHE_STATISTICS(PREFIX + "cache.statistics"),
CACHE_STATISTICS(PREFIX.get() + "cache.statistics"),
/**
* managementEnabled - Checks whether management is enabled on this cache.
*/
CACHE_MANAGEMENT(PREFIX + "cache.management"),
CACHE_MANAGEMENT(PREFIX.get() + "cache.management"),
/**
* MicroStream’s storage can be used as a backing store for the cache.
* It functions as a CacheWriter as well as a CacheReader, depending on the writeThrough
* and readThrough configuration. Per default it is used for both.
*/
STORAGE(PREFIX + "store");
STORAGE(PREFIX.get() + "store");

private final String value;

Expand Down