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) |
protected void |
setLastModified() |
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.ILastModifiedCacheItem
public void setLastModified(long lastModified)
protected void setLastModified()
public String getCacheKey()
getCacheKey
in interface org.pentaho.platform.api.cache.ILastModifiedCacheItem
public Object read(Object o) throws org.hibernate.cache.CacheException
read
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public Object get(Object o) throws org.hibernate.cache.CacheException
get
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void put(Object o, Object o1) throws org.hibernate.cache.CacheException
put
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void update(Object o, Object o1) throws org.hibernate.cache.CacheException
update
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void remove(Object o) throws org.hibernate.cache.CacheException
remove
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void clear() throws org.hibernate.cache.CacheException
clear
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void destroy() throws org.hibernate.cache.CacheException
destroy
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void lock(Object o) throws org.hibernate.cache.CacheException
lock
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void unlock(Object o) throws org.hibernate.cache.CacheException
unlock
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.Cache
public int getTimeout()
getTimeout
in interface org.hibernate.cache.Cache
public String getRegionName()
getRegionName
in interface org.hibernate.cache.Cache
public long getSizeInMemory()
getSizeInMemory
in interface org.hibernate.cache.Cache
public long getElementCountInMemory()
getElementCountInMemory
in interface org.hibernate.cache.Cache
public long getElementCountOnDisk()
getElementCountOnDisk
in interface org.hibernate.cache.Cache
public Map toMap()
toMap
in interface org.hibernate.cache.Cache
Copyright © 2021 Hitachi Vantara. All rights reserved.