Class CacheConfig

java.lang.Object
org.chenile.cache.model.CacheConfig

public class CacheConfig extends Object
Values that can be used to configure a cache.
  • Field Details

    • EXTENSION

      public static final String EXTENSION
      See Also:
    • timeToLiveInSeconds

      private int timeToLiveInSeconds
    • backupCount

      private int backupCount
    • maxSize

      private int maxSize
    • id

      private String id
  • Constructor Details

    • CacheConfig

      public CacheConfig()
  • Method Details

    • getTimeToLiveInSeconds

      public int getTimeToLiveInSeconds()
    • setTimeToLiveInSeconds

      public void setTimeToLiveInSeconds(int timeToLiveInSeconds)
    • getBackupCount

      public int getBackupCount()
    • setBackupCount

      public void setBackupCount(int backupCount)
    • getMaxSize

      public int getMaxSize()
    • setMaxSize

      public void setMaxSize(int maxSize)
    • getId

      public String getId()
    • setId

      public void setId(String id)