Class RegionAttributesType.ExpirationAttributesType
java.lang.Object
org.apache.geode.cache.configuration.RegionAttributesType.ExpirationAttributesType
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RegionAttributesType
public static class RegionAttributesType.ExpirationAttributesType
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">
<sequence>
<element name="expiration-attributes" type="{http://geode.apache.org/schema/cache}expiration-attributes-type"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionExpirationAttributesType(Integer timeout, String action, String expiry, Properties iniProps) -
Method Summary
Modifier and TypeMethodDescriptioncombine(RegionAttributesType.ExpirationAttributesType existing, RegionAttributesType.ExpirationAttributesType delta) generate(Integer timeout, String action, org.apache.geode.management.configuration.ClassName expiry) Gets the value of the action property.Gets the value of the timeout property.booleanbooleanvoidSets the value of the action property.voidsetCustomExpiry(DeclarableType value) Sets the value of the customExpiry property.voidsetTimeout(String value) Sets the value of the timeout property.
-
Field Details
-
expirationAttributes
-
-
Constructor Details
-
ExpirationAttributesType
public ExpirationAttributesType() -
ExpirationAttributesType
-
-
Method Details
-
generate
public static RegionAttributesType.ExpirationAttributesType generate(Integer timeout, String action, org.apache.geode.management.configuration.ClassName expiry) -
combine
public static RegionAttributesType.ExpirationAttributesType combine(RegionAttributesType.ExpirationAttributesType existing, RegionAttributesType.ExpirationAttributesType delta) -
hasTimoutOrAction
public boolean hasTimoutOrAction()- Returns:
- true if timeout or action is specified
-
hasCustomExpiry
public boolean hasCustomExpiry()- Returns:
- true if custom expiry class is specified
-
getCustomExpiry
- Returns:
- the custom expiry declarable
-
setCustomExpiry
Sets the value of the customExpiry property. allowed object isDeclarableType- Parameters:
value- the value of the customExpiry property
-
getAction
Gets the value of the action property. possible object isString- Returns:
- the value of the action property
-
setAction
Sets the value of the action property. allowed object isString- Parameters:
value- the value of the action property
-
getTimeout
Gets the value of the timeout property. possible object isString- Returns:
- the value of the timeout property
-
setTimeout
Sets the value of the timeout property. allowed object isString- Parameters:
value- the value of the timeout property
-