@Experimental public class ExpirationAttributesType extends java.lang.Object
Java class for expiration-attributes-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="expiration-attributes-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="custom-expiry" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<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>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="action">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="destroy"/>
<enumeration value="invalidate"/>
<enumeration value="local-destroy"/>
<enumeration value="local-invalidate"/>
</restriction>
</simpleType>
</attribute>
<attribute name="timeout" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpirationAttributesType.CustomExpiry
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
action |
protected ExpirationAttributesType.CustomExpiry |
customExpiry |
protected java.lang.String |
timeout |
| Constructor and Description |
|---|
ExpirationAttributesType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAction()
Gets the value of the action property.
|
ExpirationAttributesType.CustomExpiry |
getCustomExpiry()
Gets the value of the customExpiry property.
|
java.lang.String |
getTimeout()
Gets the value of the timeout property.
|
void |
setAction(java.lang.String value)
Sets the value of the action property.
|
void |
setCustomExpiry(ExpirationAttributesType.CustomExpiry value)
Sets the value of the customExpiry property.
|
void |
setTimeout(java.lang.String value)
Sets the value of the timeout property.
|
protected ExpirationAttributesType.CustomExpiry customExpiry
protected java.lang.String action
protected java.lang.String timeout
public ExpirationAttributesType.CustomExpiry getCustomExpiry()
ExpirationAttributesType.CustomExpirypublic void setCustomExpiry(ExpirationAttributesType.CustomExpiry value)
value - allowed object is
ExpirationAttributesType.CustomExpirypublic java.lang.String getAction()
Stringpublic void setAction(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTimeout()
Stringpublic void setTimeout(java.lang.String value)
value - allowed object is
String