Class RegionAttributesType.MembershipAttributes
java.lang.Object
org.apache.geode.cache.configuration.RegionAttributesType.MembershipAttributes
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RegionAttributesType
public static class RegionAttributesType.MembershipAttributes
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="required-role" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="loss-action">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="full-access"/>
<enumeration value="limited-access"/>
<enumeration value="no-access"/>
<enumeration value="reconnect"/>
</restriction>
</simpleType>
</attribute>
<attribute name="resumption-action">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="reinitialize"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the lossAction property.Gets the value of the requiredRole property.Gets the value of the resumptionAction property.voidsetLossAction(String value) Sets the value of the lossAction property.voidsetResumptionAction(String value) Sets the value of the resumptionAction property.
-
Field Details
-
requiredRoles
-
lossAction
-
resumptionAction
-
-
Constructor Details
-
MembershipAttributes
public MembershipAttributes()
-
-
Method Details
-
getRequiredRoles
Gets the value of the requiredRole property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the requiredRole property.For example, to add a new item, do as follows:
getRequiredRoles().add(newItem);
Objects of the following type(s) are allowed in the list
RegionAttributesType.MembershipAttributes.RequiredRole- Returns:
- the value of the requiredRole property
-
getLossAction
Gets the value of the lossAction property. possible object isString- Returns:
- the value of the lossAction property
-
setLossAction
Sets the value of the lossAction property. allowed object isString- Parameters:
value- the value of the lossAction property
-
getResumptionAction
Gets the value of the resumptionAction property. possible object isString- Returns:
- the value of the resumptionAction property
-
setResumptionAction
Sets the value of the resumptionAction property. allowed object isString- Parameters:
value- the value of the resumptionAction property
-