Class RegionAttributesType.EvictionAttributes
java.lang.Object
org.apache.geode.cache.configuration.RegionAttributesType.EvictionAttributes
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RegionAttributesType
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>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the lruEntryCount property.Gets the value of the lruHeapPercentage property.Gets the value of the lruMemorySize property.voidSets the value of the lruEntryCount property.voidSets the value of the lruHeapPercentage property.voidSets the value of the lruMemorySize property.
-
Field Details
-
lruEntryCount
-
lruHeapPercentage
-
lruMemorySize
-
-
Constructor Details
-
EvictionAttributes
public EvictionAttributes()
-
-
Method Details
-
generate
public static RegionAttributesType.EvictionAttributes generate(String evictionAction, Integer maxMemory, Integer maxEntryCount, ClassName objectSizer) -
generate
public static RegionAttributesType.EvictionAttributes generate(String evictionAction, Integer maxMemory, Integer maxEntryCount, String objectSizer) -
getLruEntryCount
Gets the value of the lruEntryCount property. possible object isRegionAttributesType.EvictionAttributes.LruEntryCount- Returns:
- the value of the lruEntryCount property
-
setLruEntryCount
Sets the value of the lruEntryCount property. allowed object isRegionAttributesType.EvictionAttributes.LruEntryCount- Parameters:
value- the value of the lruEntryCount property
-
getLruHeapPercentage
Gets the value of the lruHeapPercentage property. possible object isRegionAttributesType.EvictionAttributes.LruHeapPercentage- Returns:
- the value of the lruHeapPercentage property
-
setLruHeapPercentage
Sets the value of the lruHeapPercentage property. allowed object isRegionAttributesType.EvictionAttributes.LruHeapPercentage- Parameters:
value- the value of the lruHeapPercentage property
-
getLruMemorySize
Gets the value of the lruMemorySize property. possible object isRegionAttributesType.EvictionAttributes.LruMemorySize- Returns:
- the value of the lruMemorySize property
-
setLruMemorySize
Sets the value of the lruMemorySize property. allowed object isRegionAttributesType.EvictionAttributes.LruMemorySize- Parameters:
value- the value of the lruMemorySize property
-