类 CachedValue

java.lang.Object
com.gdxsoft.easyweb.cache.CachedValue
类型参数:
T -

public class CachedValue extends Object
缓存值
作者:
Administrator
  • 构造器详细资料

    • CachedValue

      public CachedValue(int id)
    • CachedValue

      public CachedValue(int id, Object value)
  • 方法详细资料

    • isValid

      public boolean isValid()
    • getId

      public int getId()
      返回:
      the _Id
    • setId

      public void setId(int id)
      参数:
      id - the _Id to set
    • getStart

      public Date getStart()
      返回:
      the _Start
    • setStart

      public void setStart(Date start)
      参数:
      start - the _Start to set
    • getLifeSeconds

      public int getLifeSeconds()
      返回:
      the _LifeSeconds
    • setLifeSeconds

      public void setLifeSeconds(int lifeSeconds)
      参数:
      lifeSeconds - the _LifeSeconds to set
    • getValue

      public Object getValue()
      返回:
      the _Value
    • setValue

      public void setValue(Object value)
      参数:
      value - the _Value to set