Class RegionAttributesType.PartitionAttributes
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RegionAttributesType
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="partition-resolver" 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>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="partition-listener" maxOccurs="unbounded" 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>
<element name="fixed-partition-attributes" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="partition-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="is-primary" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="num-buckets" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="local-max-memory" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="recovery-delay" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="redundant-copies" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="startup-recovery-delay" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="total-max-memory" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="total-num-buckets" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="colocated-with" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<DeclarableType>protected DeclarableTypeprotected Stringprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncombine(RegionAttributesType.PartitionAttributes existing, RegionAttributesType.PartitionAttributes delta) generate(String partitionResolver, List<String> partitionListeners, Integer localMaxMemory, Long recoveryDelay, Integer redundantCopies, Long startupRecoveryDelay, Long totalMaxMemory, Integer totalNumBuckets, String colocatedWith) Gets the value of the colocatedWith property.Gets the value of the fixedPartitionAttributes property.Gets the value of the localMaxMemory property.Gets the value of the partitionListener property.Gets the value of the partitionResolver property.Gets the value of the recoveryDelay property.Gets the value of the redundantCopies property.Gets the value of the startupRecoveryDelay property.Gets the value of the totalMaxMemory property.Gets the value of the totalNumBuckets property.voidsetColocatedWith(String value) Sets the value of the colocatedWith property.voidsetLocalMaxMemory(String value) Sets the value of the localMaxMemory property.voidSets the value of the partitionResolver property.voidsetRecoveryDelay(String value) Sets the value of the recoveryDelay property.voidsetRedundantCopies(String value) Sets the value of the redundantCopies property.voidsetStartupRecoveryDelay(String value) Sets the value of the startupRecoveryDelay property.voidsetTotalMaxMemory(String value) Sets the value of the totalMaxMemory property.voidsetTotalNumBuckets(String value) Sets the value of the totalNumBuckets property.
-
Field Details
-
partitionResolver
-
partitionListeners
-
fixedPartitionAttributes
protected List<RegionAttributesType.PartitionAttributes.FixedPartitionAttributes> fixedPartitionAttributes -
localMaxMemory
-
recoveryDelay
-
redundantCopies
-
startupRecoveryDelay
-
totalMaxMemory
-
totalNumBuckets
-
colocatedWith
-
-
Constructor Details
-
PartitionAttributes
public PartitionAttributes()
-
-
Method Details
-
generate
-
combine
public static RegionAttributesType.PartitionAttributes combine(RegionAttributesType.PartitionAttributes existing, RegionAttributesType.PartitionAttributes delta) -
getPartitionResolver
Gets the value of the partitionResolver property. possible object isDeclarableType- Returns:
- the value of the partitionResolver property
-
setPartitionResolver
Sets the value of the partitionResolver property. allowed object isDeclarableType- Parameters:
value- the value of the partitionResolver property
-
getPartitionListeners
Gets the value of the partitionListener 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 partitionListener property.For example, to add a new item, do as follows:
getPartitionListeners().add(newItem);
Objects of the following type(s) are allowed in the list
DeclarableType- Returns:
- the value of the partitionListener property
-
getFixedPartitionAttributes
public List<RegionAttributesType.PartitionAttributes.FixedPartitionAttributes> getFixedPartitionAttributes()Gets the value of the fixedPartitionAttributes 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 fixedPartitionAttributes property.For example, to add a new item, do as follows:
getFixedPartitionAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
RegionAttributesType.PartitionAttributes.FixedPartitionAttributes- Returns:
- the value of the fixedPartitionAttributes property
-
getLocalMaxMemory
Gets the value of the localMaxMemory property. possible object isString- Returns:
- the value of the localMaxMemory property
-
setLocalMaxMemory
Sets the value of the localMaxMemory property. allowed object isString- Parameters:
value- the value of the localMaxMemory property
-
getRecoveryDelay
Gets the value of the recoveryDelay property. possible object isString- Returns:
- the value of the recoveryDelay property
-
setRecoveryDelay
Sets the value of the recoveryDelay property. allowed object isString- Parameters:
value- the value of the recoveryDelay property
-
getRedundantCopies
Gets the value of the redundantCopies property. possible object isString- Returns:
- the value of the redundantCopies property
-
setRedundantCopies
Sets the value of the redundantCopies property. allowed object isString- Parameters:
value- the value of the redundantCopies property
-
getStartupRecoveryDelay
Gets the value of the startupRecoveryDelay property. possible object isString- Returns:
- the value of the startupRecoveryDelay property
-
setStartupRecoveryDelay
Sets the value of the startupRecoveryDelay property. allowed object isString- Parameters:
value- the value of the startupRecoveryDelay property
-
getTotalMaxMemory
Gets the value of the totalMaxMemory property. possible object isString- Returns:
- the value of the totalMaxMemory property
-
setTotalMaxMemory
Sets the value of the totalMaxMemory property. allowed object isString- Parameters:
value- the value of the totalMaxMemory property
-
getTotalNumBuckets
Gets the value of the totalNumBuckets property. possible object isString- Returns:
- the value of the totalNumBuckets property
-
setTotalNumBuckets
Sets the value of the totalNumBuckets property. allowed object isString- Parameters:
value- the value of the totalNumBuckets property
-
getColocatedWith
Gets the value of the colocatedWith property. possible object isString- Returns:
- the value of the colocatedWith property
-
setColocatedWith
Sets the value of the colocatedWith property. allowed object isString- Parameters:
value- the value of the colocatedWith property
-