类 CacheTTL


  • public class CacheTTL
    extends Object
    作者:
    yixing Cache TTL policy
    • 构造器详细资料

      • CacheTTL

        public CacheTTL()
    • 方法详细资料

      • getType

        public String getType()
        返回:
        type
      • setType

        public void setType​(String type)
        参数:
        type -
      • withType

        public CacheTTL withType​(String type)
        参数:
        type -
        返回:
        returns this object
      • getValue

        public String getValue()
        返回:
        value
      • setValue

        public void setValue​(String value)
        参数:
        value -
      • withValue

        public CacheTTL withValue​(String value)
        参数:
        value -
        返回:
        returns this object
      • getTtl

        public Integer getTtl()
        返回:
        ttl
      • setTtl

        public void setTtl​(Integer ttl)
        参数:
        ttl -
      • withTtl

        public CacheTTL withTtl​(Integer ttl)
        参数:
        ttl -
        返回:
        returns this object
      • getWeight

        public Integer getWeight()
        返回:
        weigh
      • setWeight

        public void setWeight​(Integer weight)
        参数:
        weight -
      • withWeigth

        public CacheTTL withWeigth​(Integer weight)
        参数:
        weight -
        返回:
        returns this object