public class JCacheRegion extends Object implements org.hibernate.cache.spi.Region
| Modifier and Type | Field and Description |
|---|---|
protected javax.cache.Cache<Object,Object> |
cache |
| Constructor and Description |
|---|
JCacheRegion(javax.cache.Cache<Object,Object> cache) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object key) |
void |
destroy() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk() |
String |
getName() |
long |
getSizeInMemory() |
int |
getTimeout() |
long |
nextTimestamp() |
Map |
toMap() |
public String getName()
getName in interface org.hibernate.cache.spi.Regionpublic void destroy()
throws org.hibernate.cache.CacheException
destroy in interface org.hibernate.cache.spi.Regionorg.hibernate.cache.CacheExceptionpublic boolean contains(Object key)
contains in interface org.hibernate.cache.spi.Regionpublic long getSizeInMemory()
getSizeInMemory in interface org.hibernate.cache.spi.Regionpublic long getElementCountInMemory()
getElementCountInMemory in interface org.hibernate.cache.spi.Regionpublic long getElementCountOnDisk()
getElementCountOnDisk in interface org.hibernate.cache.spi.Regionpublic Map toMap()
toMap in interface org.hibernate.cache.spi.Regionpublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.spi.Regionpublic int getTimeout()
getTimeout in interface org.hibernate.cache.spi.RegionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.