public class CarteStatusCache extends Object implements org.hibernate.cache.Cache
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CARTE_STATUS_CACHE |
| 限定符和类型 | 方法和说明 |
|---|---|
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 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 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic Object get(Object key) throws org.hibernate.cache.CacheException
get 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void put(Object key, Object value) throws org.hibernate.cache.CacheException
put 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void update(Object key, Object value) throws org.hibernate.cache.CacheException
update 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void remove(Object key) throws org.hibernate.cache.CacheException
remove 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void clear()
throws org.hibernate.cache.CacheException
clear 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void destroy()
throws org.hibernate.cache.CacheException
destroy 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic Map toMap()
toMap 在接口中 org.hibernate.cache.Cachepublic void lock(Object key) throws org.hibernate.cache.CacheException
lock 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic void unlock(Object key) throws org.hibernate.cache.CacheException
unlock 在接口中 org.hibernate.cache.Cacheorg.hibernate.cache.CacheExceptionpublic long nextTimestamp()
nextTimestamp 在接口中 org.hibernate.cache.Cachepublic int getTimeout()
getTimeout 在接口中 org.hibernate.cache.Cachepublic String getRegionName()
getRegionName 在接口中 org.hibernate.cache.Cachepublic long getSizeInMemory()
getSizeInMemory 在接口中 org.hibernate.cache.Cachepublic long getElementCountInMemory()
getElementCountInMemory 在接口中 org.hibernate.cache.Cachepublic long getElementCountOnDisk()
getElementCountOnDisk 在接口中 org.hibernate.cache.CacheCopyright © 2024 Hitachi Vantara. All rights reserved.