Class AbstractCachingAwareObject
- java.lang.Object
-
- org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
-
- All Implemented Interfaces:
CachingAwareObject
- Direct Known Subclasses:
CachingAwareList,Item
public abstract class AbstractCachingAwareObject extends Object implements CachingAwareObject
Base abstract implementation ofCachingAwareObject- Author:
- Alfonso Vásquez
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCachingAwareObject()protectedAbstractCachingAwareObject(CachingAwareObject cachingAwareObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCachingTime()ObjectgetKey()StringgetScope()voidsetCachingTime(Long cachingTime)voidsetKey(Object key)voidsetScope(String scope)
-
-
-
Constructor Detail
-
AbstractCachingAwareObject
protected AbstractCachingAwareObject()
-
AbstractCachingAwareObject
protected AbstractCachingAwareObject(CachingAwareObject cachingAwareObject)
-
-
Method Detail
-
getScope
public String getScope()
- Specified by:
getScopein interfaceCachingAwareObject
-
setScope
public void setScope(String scope)
- Specified by:
setScopein interfaceCachingAwareObject
-
getKey
public Object getKey()
- Specified by:
getKeyin interfaceCachingAwareObject
-
setKey
public void setKey(Object key)
- Specified by:
setKeyin interfaceCachingAwareObject
-
getCachingTime
public Long getCachingTime()
- Specified by:
getCachingTimein interfaceCachingAwareObject
-
setCachingTime
public void setCachingTime(Long cachingTime)
- Specified by:
setCachingTimein interfaceCachingAwareObject
-
-