public static class RegionAttributesType.ExpirationAttributesType
extends java.lang.Object
implements java.io.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>
Modifier and Type | Field and Description |
---|---|
protected RegionAttributesType.ExpirationAttributesDetail |
expirationAttributes |
Constructor and Description |
---|
ExpirationAttributesType() |
ExpirationAttributesType(java.lang.Integer timeout,
java.lang.String action,
java.lang.String expiry,
java.util.Properties iniProps) |
Modifier and Type | Method and Description |
---|---|
static RegionAttributesType.ExpirationAttributesType |
combine(RegionAttributesType.ExpirationAttributesType existing,
RegionAttributesType.ExpirationAttributesType delta) |
static RegionAttributesType.ExpirationAttributesType |
generate(java.lang.Integer timeout,
java.lang.String action,
org.apache.geode.management.configuration.ClassName expiry) |
java.lang.String |
getAction()
Gets the value of the action property.
|
DeclarableType |
getCustomExpiry() |
java.lang.String |
getTimeout()
Gets the value of the timeout property.
|
boolean |
hasCustomExpiry() |
boolean |
hasTimoutOrAction() |
void |
setAction(java.lang.String value)
Sets the value of the action property.
|
void |
setCustomExpiry(DeclarableType value)
Sets the value of the customExpiry property.
|
void |
setTimeout(java.lang.String value)
Sets the value of the timeout property.
|
protected RegionAttributesType.ExpirationAttributesDetail expirationAttributes
public ExpirationAttributesType()
public ExpirationAttributesType(java.lang.Integer timeout, java.lang.String action, java.lang.String expiry, java.util.Properties iniProps)
public static RegionAttributesType.ExpirationAttributesType generate(java.lang.Integer timeout, java.lang.String action, org.apache.geode.management.configuration.ClassName expiry)
public static RegionAttributesType.ExpirationAttributesType combine(RegionAttributesType.ExpirationAttributesType existing, RegionAttributesType.ExpirationAttributesType delta)
public boolean hasTimoutOrAction()
public boolean hasCustomExpiry()
public DeclarableType getCustomExpiry()
public void setCustomExpiry(DeclarableType value)
DeclarableType
value
- the value of the customExpiry propertypublic java.lang.String getAction()
String
public void setAction(java.lang.String value)
String
value
- the value of the action propertypublic java.lang.String getTimeout()
String
public void setTimeout(java.lang.String value)
String
value
- the value of the timeout property