Interface StepCacheConfiguration<K,V>
- Type Parameters:
K
- Key typeV
- Value type
public interface StepCacheConfiguration<K,V>
Configuration for getting and creating
StepCache
.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the cache of the custom stepReturns the key type of the step cache configuration.getScope()
Returns the scope of the cache.Returns the time to live for update of the cache.Returns the value type of the step cache configuration.
-
Method Details
-
getCacheName
String getCacheName()Returns the name of the cache of the custom step- Returns:
- Name of cache of custom step
-
getKeyType
Returns the key type of the step cache configuration.- Returns:
- Key type
-
getValueType
Returns the value type of the step cache configuration.- Returns:
- Value type
-
getTtlForUpdate
StepCacheTtl getTtlForUpdate()Returns the time to live for update of the cache.- Returns:
StepCacheTtl
object which holds the time duration and unit for time to live of the cache
-
getScope
StepCacheScope getScope()Returns the scope of the cache.- Returns:
StepCacheScope
of the cache
-