Class CacheSlot


  • public class CacheSlot
    extends Object
    A slot cache allows the caching of complex objects
    Author:
    Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
    • Constructor Detail

      • CacheSlot

        public CacheSlot​(Object content,
                         long lastUpdate,
                         long lifeExpectancy)
    • Method Detail

      • getContent

        public Object getContent()
      • setContent

        public void setContent​(Object content)
      • getLastUpdate

        public long getLastUpdate()
      • setLastUpdate

        public void setLastUpdate​(long lastUpdate)
      • getLifeExpectancy

        public long getLifeExpectancy()
      • setLifeExpectancy

        public void setLifeExpectancy​(long lifeExpectancy)
      • getCallback

        public String getCallback()
      • setCallback

        public void setCallback​(String callback)
      • isExpired

        public boolean isExpired()