Package org.pentaho.di.www.cache
Class CarteStatusCache
- java.lang.Object
-
- org.pentaho.di.www.cache.CarteStatusCache
-
- All Implemented Interfaces:
org.hibernate.cache.Cache
public class CarteStatusCache extends Object implements org.hibernate.cache.Cache
-
-
Field Summary
Fields Modifier and Type Field Description static String
CARTE_STATUS_CACHE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
destroy()
Object
get(Object key)
byte[]
get(String logId, int from)
long
getElementCountInMemory()
long
getElementCountOnDisk()
static CarteStatusCache
getInstance()
String
getRegionName()
long
getSizeInMemory()
int
getTimeout()
void
lock(Object key)
long
nextTimestamp()
void
put(Object key, Object value)
void
put(String logId, String cacheString, int from)
Object
read(Object key)
void
remove(Object key)
void
remove(String id)
Map
toMap()
void
unlock(Object key)
void
update(Object key, Object value)
-
-
-
Field Detail
-
CARTE_STATUS_CACHE
public static final String CARTE_STATUS_CACHE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static CarteStatusCache getInstance()
-
get
public byte[] get(String logId, int from)
-
remove
public void remove(String id)
-
read
public Object read(Object key) throws org.hibernate.cache.CacheException
- Specified by:
read
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
get
public Object get(Object key) throws org.hibernate.cache.CacheException
- Specified by:
get
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
put
public void put(Object key, Object value) throws org.hibernate.cache.CacheException
- Specified by:
put
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
update
public void update(Object key, Object value) throws org.hibernate.cache.CacheException
- Specified by:
update
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
remove
public void remove(Object key) throws org.hibernate.cache.CacheException
- Specified by:
remove
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
clear
public void clear() throws org.hibernate.cache.CacheException
- Specified by:
clear
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
destroy
public void destroy() throws org.hibernate.cache.CacheException
- Specified by:
destroy
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
toMap
public Map toMap()
- Specified by:
toMap
in interfaceorg.hibernate.cache.Cache
-
lock
public void lock(Object key) throws org.hibernate.cache.CacheException
- Specified by:
lock
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
unlock
public void unlock(Object key) throws org.hibernate.cache.CacheException
- Specified by:
unlock
in interfaceorg.hibernate.cache.Cache
- Throws:
org.hibernate.cache.CacheException
-
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp
in interfaceorg.hibernate.cache.Cache
-
getTimeout
public int getTimeout()
- Specified by:
getTimeout
in interfaceorg.hibernate.cache.Cache
-
getRegionName
public String getRegionName()
- Specified by:
getRegionName
in interfaceorg.hibernate.cache.Cache
-
getSizeInMemory
public long getSizeInMemory()
- Specified by:
getSizeInMemory
in interfaceorg.hibernate.cache.Cache
-
getElementCountInMemory
public long getElementCountInMemory()
- Specified by:
getElementCountInMemory
in interfaceorg.hibernate.cache.Cache
-
getElementCountOnDisk
public long getElementCountOnDisk()
- Specified by:
getElementCountOnDisk
in interfaceorg.hibernate.cache.Cache
-
-