public class CacheProperties
extends java.lang.Object
ConfigurationProperties
used to configure Apache Geode peer Cache
, ClientCache
and CacheServer
objects.
The configuration Properties
are based on well-known, documented Spring Data for Apache Geode (SDG)
Properties
.Properties
,
Cache
,
ClientCache
,
ResourceManager
,
CacheServer
,
ConfigurationProperties
,
NestedConfigurationProperty
Modifier and Type | Class and Description |
---|---|
static class |
CacheProperties.CompressionProperties |
static class |
CacheProperties.OffHeapProperties |
Constructor and Description |
---|
CacheProperties() |
Modifier and Type | Method and Description |
---|---|
ClientCacheProperties |
getClient() |
CacheProperties.CompressionProperties |
getCompression() |
float |
getCriticalHeapPercentage() |
float |
getCriticalOffHeapPercentage() |
float |
getEvictionHeapPercentage() |
float |
getEvictionOffHeapPercentage() |
java.lang.String |
getLogLevel() |
java.lang.String |
getName() |
CacheProperties.OffHeapProperties |
getOffHeap() |
PeerCacheProperties |
getPeer() |
CacheServerProperties |
getServer() |
boolean |
isCopyOnRead() |
boolean |
isEnableAutoRegionLookup() |
void |
setCopyOnRead(boolean copyOnRead) |
void |
setCriticalHeapPercentage(float criticalHeapPercentage) |
void |
setCriticalOffHeapPercentage(float criticalOffHeapPercentage) |
void |
setEnableAutoRegionLookup(boolean enableAutoRegionLookup) |
void |
setEvictionHeapPercentage(float evictionHeapPercentage) |
void |
setEvictionOffHeapPercentage(float evictionOffHeapPercentage) |
void |
setLogLevel(java.lang.String logLevel) |
void |
setName(java.lang.String name) |
public ClientCacheProperties getClient()
public CacheProperties.CompressionProperties getCompression()
public boolean isCopyOnRead()
public void setCopyOnRead(boolean copyOnRead)
public float getCriticalHeapPercentage()
public void setCriticalHeapPercentage(float criticalHeapPercentage)
public float getCriticalOffHeapPercentage()
public void setCriticalOffHeapPercentage(float criticalOffHeapPercentage)
public boolean isEnableAutoRegionLookup()
public void setEnableAutoRegionLookup(boolean enableAutoRegionLookup)
public float getEvictionHeapPercentage()
public void setEvictionHeapPercentage(float evictionHeapPercentage)
public float getEvictionOffHeapPercentage()
public void setEvictionOffHeapPercentage(float evictionOffHeapPercentage)
public java.lang.String getLogLevel()
public void setLogLevel(java.lang.String logLevel)
public java.lang.String getName()
public void setName(java.lang.String name)
public CacheProperties.OffHeapProperties getOffHeap()
public PeerCacheProperties getPeer()
public CacheServerProperties getServer()