public class LastModifiedCache extends Object implements org.pentaho.platform.api.cache.ILastModifiedCacheItem, org.hibernate.cache.Cache
| Constructor and Description |
|---|
LastModifiedCache(org.hibernate.cache.Cache cache) |
LastModifiedCache(org.hibernate.cache.Cache cache,
long lastModified) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
destroy() |
Object |
get(Object o) |
String |
getCacheKey() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk() |
long |
getLastModified() |
String |
getRegionName() |
long |
getSizeInMemory() |
int |
getTimeout() |
void |
lock(Object o) |
long |
nextTimestamp() |
void |
put(Object o,
Object o1) |
Object |
read(Object o) |
void |
remove(Object o) |
void |
setLastModified(long lastModified) |
Map |
toMap() |
void |
unlock(Object o) |
void |
update(Object o,
Object o1) |
public LastModifiedCache(org.hibernate.cache.Cache cache)
public LastModifiedCache(org.hibernate.cache.Cache cache,
long lastModified)
public long getLastModified()
getLastModified in interface org.pentaho.platform.api.cache.ILastModifiedCacheItempublic void setLastModified(long lastModified)
public String getCacheKey()
getCacheKey in interface org.pentaho.platform.api.cache.ILastModifiedCacheItempublic Object read(Object o) throws org.hibernate.cache.CacheException
read in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic Object get(Object o) throws org.hibernate.cache.CacheException
get in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void put(Object o, Object o1) throws org.hibernate.cache.CacheException
put in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void update(Object o, Object o1) throws org.hibernate.cache.CacheException
update in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void remove(Object o) throws org.hibernate.cache.CacheException
remove in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void clear()
throws org.hibernate.cache.CacheException
clear in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void destroy()
throws org.hibernate.cache.CacheException
destroy in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void lock(Object o) throws org.hibernate.cache.CacheException
lock in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void unlock(Object o) throws org.hibernate.cache.CacheException
unlock in interface org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.Cachepublic int getTimeout()
getTimeout in interface org.hibernate.cache.Cachepublic String getRegionName()
getRegionName in interface org.hibernate.cache.Cachepublic long getSizeInMemory()
getSizeInMemory in interface org.hibernate.cache.Cachepublic long getElementCountInMemory()
getElementCountInMemory in interface org.hibernate.cache.Cachepublic long getElementCountOnDisk()
getElementCountOnDisk in interface org.hibernate.cache.Cachepublic Map toMap()
toMap in interface org.hibernate.cache.Cache