public class GemFireBaseRegion
extends java.lang.Object
implements org.hibernate.cache.Region
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isClientRegion
to determine if the operation should be forwarded to server
|
protected org.hibernate.cache.CacheDataDescription |
metadata |
protected com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> |
region
the backing region
|
protected GemFireRegionFactory |
regionFactory |
protected com.gemstone.gemfire.modules.util.ModuleStatistics |
stats |
| Constructor and Description |
|---|
GemFireBaseRegion(com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> region,
boolean isClient,
org.hibernate.cache.CacheDataDescription metadata,
GemFireRegionFactory regionFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object key) |
void |
destroy() |
boolean |
equals(java.lang.Object obj) |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk() |
java.util.concurrent.ExecutorService |
getExecutorService() |
com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> |
getGemFireRegion() |
java.lang.String |
getName() |
long |
getSizeInMemory() |
com.gemstone.gemfire.modules.util.ModuleStatistics |
getStats() |
int |
getTimeout() |
int |
hashCode() |
long |
nextTimestamp() |
java.util.Map<java.lang.Object,EntityWrapper> |
toMap() |
protected final com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> region
protected final boolean isClientRegion
protected final org.hibernate.cache.CacheDataDescription metadata
protected final GemFireRegionFactory regionFactory
protected final com.gemstone.gemfire.modules.util.ModuleStatistics stats
public GemFireBaseRegion(com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> region, boolean isClient, org.hibernate.cache.CacheDataDescription metadata, GemFireRegionFactory regionFactory)
public com.gemstone.gemfire.cache.Region<java.lang.Object,EntityWrapper> getGemFireRegion()
public com.gemstone.gemfire.modules.util.ModuleStatistics getStats()
public java.util.concurrent.ExecutorService getExecutorService()
public java.lang.String getName()
getName in interface org.hibernate.cache.Regionpublic void destroy()
throws org.hibernate.cache.CacheException
destroy in interface org.hibernate.cache.Regionorg.hibernate.cache.CacheExceptionpublic boolean contains(java.lang.Object key)
contains in interface org.hibernate.cache.Regionpublic long getSizeInMemory()
getSizeInMemory in interface org.hibernate.cache.Regionpublic long getElementCountInMemory()
getElementCountInMemory in interface org.hibernate.cache.Regionpublic long getElementCountOnDisk()
getElementCountOnDisk in interface org.hibernate.cache.Regionpublic java.util.Map<java.lang.Object,EntityWrapper> toMap()
toMap in interface org.hibernate.cache.Regionpublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.Regionpublic int getTimeout()
getTimeout in interface org.hibernate.cache.Regionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object