Package org.redisson.api.options
Interface MapCacheOptions<K,V>
- Type Parameters:
K
- type of keyV
- type of value
- All Superinterfaces:
CodecOptions<MapCacheOptions<K,
,V>, Codec> ExMapOptions<MapCacheOptions<K,
,V>, K, V> InvocationOptions<MapCacheOptions<K,
V>>
- All Known Implementing Classes:
MapCacheParams
RMapCache
instance options.- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> MapCacheOptions <K, V> Creates options with the name of object instanceRemoves eviction task from memory if map is empty upon entries eviction process completion.Methods inherited from interface org.redisson.api.options.CodecOptions
codec
Methods inherited from interface org.redisson.api.options.ExMapOptions
loader, loaderAsync, writeBehindBatchSize, writeBehindDelay, writeMode, writer, writerAsync, writeRetryAttempts, writeRetryInterval
Methods inherited from interface org.redisson.api.options.InvocationOptions
retryAttempts, retryInterval, timeout
-
Method Details
-
name
Creates options with the name of object instance- Parameters:
name
- of object instance- Returns:
- options instance
-
removeEmptyEvictionTask
MapCacheOptions<K,V> removeEmptyEvictionTask()Removes eviction task from memory if map is empty upon entries eviction process completion.- Returns:
- MapCacheOptions instance
-