public static class RegionAttributesType.EvictionAttributes extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="lru-entry-count">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="action" type="{http://geode.apache.org/schema/cache}enum-action-destroy-overflow" />
<attribute name="maximum" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="lru-heap-percentage">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence minOccurs="0">
<element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/>
<element name="parameter" type="{http://geode.apache.org/schema/cache}parameter-type" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="action" type="{http://geode.apache.org/schema/cache}enum-action-destroy-overflow" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="lru-memory-size">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence minOccurs="0">
<element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/>
<element name="parameter" type="{http://geode.apache.org/schema/cache}parameter-type" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="action" type="{http://geode.apache.org/schema/cache}enum-action-destroy-overflow" />
<attribute name="maximum" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
RegionAttributesType.EvictionAttributes.LruEntryCount
Java class for anonymous complex type.
|
static class |
RegionAttributesType.EvictionAttributes.LruHeapPercentage
Java class for anonymous complex type.
|
static class |
RegionAttributesType.EvictionAttributes.LruMemorySize
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected RegionAttributesType.EvictionAttributes.LruEntryCount |
lruEntryCount |
protected RegionAttributesType.EvictionAttributes.LruHeapPercentage |
lruHeapPercentage |
protected RegionAttributesType.EvictionAttributes.LruMemorySize |
lruMemorySize |
| Constructor and Description |
|---|
EvictionAttributes() |
protected RegionAttributesType.EvictionAttributes.LruEntryCount lruEntryCount
protected RegionAttributesType.EvictionAttributes.LruHeapPercentage lruHeapPercentage
protected RegionAttributesType.EvictionAttributes.LruMemorySize lruMemorySize
public static RegionAttributesType.EvictionAttributes generate(String evictionAction, Integer maxMemory, Integer maxEntryCount, ClassName objectSizer)
public static RegionAttributesType.EvictionAttributes generate(String evictionAction, Integer maxMemory, Integer maxEntryCount, String objectSizer)
public RegionAttributesType.EvictionAttributes.LruEntryCount getLruEntryCount()
RegionAttributesType.EvictionAttributes.LruEntryCountpublic void setLruEntryCount(RegionAttributesType.EvictionAttributes.LruEntryCount value)
RegionAttributesType.EvictionAttributes.LruEntryCountpublic RegionAttributesType.EvictionAttributes.LruHeapPercentage getLruHeapPercentage()
RegionAttributesType.EvictionAttributes.LruHeapPercentagepublic void setLruHeapPercentage(RegionAttributesType.EvictionAttributes.LruHeapPercentage value)
RegionAttributesType.EvictionAttributes.LruHeapPercentagepublic RegionAttributesType.EvictionAttributes.LruMemorySize getLruMemorySize()
RegionAttributesType.EvictionAttributes.LruMemorySizepublic void setLruMemorySize(RegionAttributesType.EvictionAttributes.LruMemorySize value)
RegionAttributesType.EvictionAttributes.LruMemorySize