public class CarteStatusCache extends Object implements org.hibernate.cache.Cache
Modifier and Type | Field and Description |
---|---|
static String |
CARTE_STATUS_CACHE |
Modifier and Type | Method and 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) |
public static final String CARTE_STATUS_CACHE
public static CarteStatusCache getInstance()
public byte[] get(String logId, int from)
public void remove(String id)
public Object read(Object key) throws org.hibernate.cache.CacheException
read
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public Object get(Object key) throws org.hibernate.cache.CacheException
get
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void put(Object key, Object value) throws org.hibernate.cache.CacheException
put
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void update(Object key, Object value) throws org.hibernate.cache.CacheException
update
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void remove(Object key) 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 Map toMap()
toMap
in interface org.hibernate.cache.Cache
public void lock(Object key) throws org.hibernate.cache.CacheException
lock
in interface org.hibernate.cache.Cache
org.hibernate.cache.CacheException
public void unlock(Object key) 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
Copyright © 2018 Hitachi Vantara. All rights reserved.