Interface CacheConfiguration

All Known Implementing Classes:
DefaultCacheConfiguration

public interface CacheConfiguration
Represents configuration settings for a particular Cache region.
Since:
0.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the Cache for which this configuration applies.
    Returns the Time-to-Idle setting to apply for all entries in the associated Cache.
    Returns the Time-to-Live setting to apply for all entries in the associated Cache.
  • Method Details

    • getName

      String getName()
      Returns the name of the Cache for which this configuration applies.
      Returns:
      the name of the Cache for which this configuration applies.
    • getTimeToLive

      Duration getTimeToLive()
      Returns the Time-to-Live setting to apply for all entries in the associated Cache.
      Returns:
      the Time-to-Live setting to apply for all entries in the associated Cache.
    • getTimeToIdle

      Duration getTimeToIdle()
      Returns the Time-to-Idle setting to apply for all entries in the associated Cache.
      Returns:
      the Time-to-Idle setting to apply for all entries in the associated Cache.