public abstract class J2CacheDataRegion extends Object implements org.hibernate.cache.spi.Region
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object key) |
void |
destroy() |
protected J2CacheAccessStrategyFactory |
getAccessStrategyFactory() |
protected CacheRegion |
getCache() |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk() |
CacheRegion |
getJ2Cache() |
String |
getName() |
long |
getSizeInMemory() |
int |
getTimeout() |
long |
nextTimestamp() |
Map |
toMap() |
protected CacheRegion getCache()
public CacheRegion getJ2Cache()
protected J2CacheAccessStrategyFactory getAccessStrategyFactory()
public String getName()
getName
in interface org.hibernate.cache.spi.Region
public void destroy() throws org.hibernate.cache.CacheException
destroy
in interface org.hibernate.cache.spi.Region
org.hibernate.cache.CacheException
public long getSizeInMemory()
getSizeInMemory
in interface org.hibernate.cache.spi.Region
public long getElementCountInMemory()
getElementCountInMemory
in interface org.hibernate.cache.spi.Region
public long getElementCountOnDisk()
getElementCountOnDisk
in interface org.hibernate.cache.spi.Region
public Map toMap()
toMap
in interface org.hibernate.cache.spi.Region
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.spi.Region
public int getTimeout()
getTimeout
in interface org.hibernate.cache.spi.Region
public boolean contains(Object key)
contains
in interface org.hibernate.cache.spi.Region
Copyright © 2018. All rights reserved.