K
- Key TypeV
- Value Typepublic interface MicroStreamCacheConfiguration<K,V>
extends io.micronaut.core.naming.Named, io.micronaut.core.util.Toggleable
Modifier and Type | Method and Description |
---|---|
java.lang.Class<K> |
getKeyType() |
java.lang.String |
getStorage() |
java.lang.Class<V> |
getValueType() |
java.lang.Boolean |
isManagementEnabled()
Whether management is enabled on this cache.
|
java.lang.Boolean |
isReadThrough()
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.
|
java.lang.Boolean |
isStatisticsEnabled()
Whether statistics collection is enabled in this cache.
|
java.lang.Boolean |
isStoreByValue()
When a cache is storeByValue, any mutation to the key or value does not affect the key of value stored in the cache.
|
java.lang.Boolean |
isWriteThrough()
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.
|
@NonNull java.lang.Class<K> getKeyType()
@NonNull java.lang.Class<V> getValueType()
@Nullable java.lang.String getStorage()
@Nullable java.lang.Boolean isReadThrough()
@Nullable java.lang.Boolean isWriteThrough()
@Nullable java.lang.Boolean isStoreByValue()
@Nullable java.lang.Boolean isStatisticsEnabled()
@Nullable java.lang.Boolean isManagementEnabled()