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 Details

  • Constructor Details

    • ExpirationAttributesType

      public ExpirationAttributesType()
    • ExpirationAttributesType

      public ExpirationAttributesType(Integer timeout, String action, String expiry, Properties iniProps)
  • Method Details

    • generate

      public static RegionAttributesType.ExpirationAttributesType generate(Integer timeout, String action, org.apache.geode.management.configuration.ClassName expiry)
    • combine

    • 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

      public DeclarableType getCustomExpiry()
      Returns:
      the custom expiry declarable
    • setCustomExpiry

      public void setCustomExpiry(DeclarableType value)
      Sets the value of the customExpiry property. allowed object is DeclarableType
      Parameters:
      value - the value of the customExpiry property
    • getAction

      public String getAction()
      Gets the value of the action property. possible object is String
      Returns:
      the value of the action property
    • setAction

      public void setAction(String value)
      Sets the value of the action property. allowed object is String
      Parameters:
      value - the value of the action property
    • getTimeout

      public String getTimeout()
      Gets the value of the timeout property. possible object is String
      Returns:
      the value of the timeout property
    • setTimeout

      public void setTimeout(String value)
      Sets the value of the timeout property. allowed object is String
      Parameters:
      value - the value of the timeout property