Interface StepCacheConfiguration<K,V>

Type Parameters:
K - Key type
V - Value type

public interface StepCacheConfiguration<K,V>
Configuration for getting and creating StepCache.
Since:
2.0.0
  • Method Details

    • getCacheName

      String getCacheName()
      Returns the name of the cache of the custom step
      Returns:
      Name of cache of custom step
    • getKeyType

      Class<K> getKeyType()
      Returns the key type of the step cache configuration.
      Returns:
      Key type
    • getValueType

      Class<V> 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