Package io.quarkus.cache.redis.runtime
Class RedisCacheInfo
java.lang.Object
io.quarkus.cache.redis.runtime.RedisCacheInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe default time to live of the item stored in the cacheThe default time to live to add to the item once readThe key type,Stringby default.The cache namethe key prefix allowing to identify the keys belonging to the cache.booleanWhether the access to the cache should be using optimistic locking See Redis Optimistic Locking for details.The default type of the value stored in the cache. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
The cache name -
expireAfterAccess
The default time to live of the item stored in the cache -
expireAfterWrite
The default time to live to add to the item once read -
prefix
the key prefix allowing to identify the keys belonging to the cache. If not set, use "cache:$cache-name" -
valueType
The default type of the value stored in the cache. -
keyType
The key type,Stringby default. -
useOptimisticLocking
public boolean useOptimisticLockingWhether the access to the cache should be using optimistic locking See Redis Optimistic Locking for details.
-
-
Constructor Details
-
RedisCacheInfo
public RedisCacheInfo()
-