public static class RegionAttributesType.PartitionAttributes 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="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>
Modifier and Type | Class and Description |
---|---|
static class |
RegionAttributesType.PartitionAttributes.FixedPartitionAttributes
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected String |
colocatedWith |
protected List<RegionAttributesType.PartitionAttributes.FixedPartitionAttributes> |
fixedPartitionAttributes |
protected String |
localMaxMemory |
protected List<DeclarableType> |
partitionListeners |
protected DeclarableType |
partitionResolver |
protected String |
recoveryDelay |
protected String |
redundantCopies |
protected String |
startupRecoveryDelay |
protected String |
totalMaxMemory |
protected String |
totalNumBuckets |
Constructor and Description |
---|
PartitionAttributes() |
Modifier and Type | Method and Description |
---|---|
static RegionAttributesType.PartitionAttributes |
combine(RegionAttributesType.PartitionAttributes existing,
RegionAttributesType.PartitionAttributes delta) |
static RegionAttributesType.PartitionAttributes |
generate(String partitionResolver,
List<String> partitionListeners,
Integer localMaxMemory,
Long recoveryDelay,
Integer redundantCopies,
Long startupRecoveryDelay,
Long totalMaxMemory,
Integer totalNumBuckets,
String colocatedWith) |
String |
getColocatedWith()
Gets the value of the colocatedWith property.
|
List<RegionAttributesType.PartitionAttributes.FixedPartitionAttributes> |
getFixedPartitionAttributes()
Gets the value of the fixedPartitionAttributes property.
|
String |
getLocalMaxMemory()
Gets the value of the localMaxMemory property.
|
List<DeclarableType> |
getPartitionListeners()
Gets the value of the partitionListener property.
|
DeclarableType |
getPartitionResolver()
Gets the value of the partitionResolver property.
|
String |
getRecoveryDelay()
Gets the value of the recoveryDelay property.
|
String |
getRedundantCopies()
Gets the value of the redundantCopies property.
|
String |
getStartupRecoveryDelay()
Gets the value of the startupRecoveryDelay property.
|
String |
getTotalMaxMemory()
Gets the value of the totalMaxMemory property.
|
String |
getTotalNumBuckets()
Gets the value of the totalNumBuckets property.
|
void |
setColocatedWith(String value)
Sets the value of the colocatedWith property.
|
void |
setLocalMaxMemory(String value)
Sets the value of the localMaxMemory property.
|
void |
setPartitionResolver(DeclarableType value)
Sets the value of the partitionResolver property.
|
void |
setRecoveryDelay(String value)
Sets the value of the recoveryDelay property.
|
void |
setRedundantCopies(String value)
Sets the value of the redundantCopies property.
|
void |
setStartupRecoveryDelay(String value)
Sets the value of the startupRecoveryDelay property.
|
void |
setTotalMaxMemory(String value)
Sets the value of the totalMaxMemory property.
|
void |
setTotalNumBuckets(String value)
Sets the value of the totalNumBuckets property.
|
protected DeclarableType partitionResolver
protected List<DeclarableType> partitionListeners
protected List<RegionAttributesType.PartitionAttributes.FixedPartitionAttributes> fixedPartitionAttributes
protected String localMaxMemory
protected String recoveryDelay
protected String redundantCopies
protected String startupRecoveryDelay
protected String totalMaxMemory
protected String totalNumBuckets
protected String colocatedWith
public static RegionAttributesType.PartitionAttributes generate(String partitionResolver, List<String> partitionListeners, Integer localMaxMemory, Long recoveryDelay, Integer redundantCopies, Long startupRecoveryDelay, Long totalMaxMemory, Integer totalNumBuckets, String colocatedWith)
public static RegionAttributesType.PartitionAttributes combine(RegionAttributesType.PartitionAttributes existing, RegionAttributesType.PartitionAttributes delta)
public DeclarableType getPartitionResolver()
DeclarableType
public void setPartitionResolver(DeclarableType value)
DeclarableType
value
- the value of the partitionResolver propertypublic List<DeclarableType> getPartitionListeners()
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 set
method 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
public List<RegionAttributesType.PartitionAttributes.FixedPartitionAttributes> getFixedPartitionAttributes()
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 set
method 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
public String getLocalMaxMemory()
String
public void setLocalMaxMemory(String value)
String
value
- the value of the localMaxMemory propertypublic String getRecoveryDelay()
String
public void setRecoveryDelay(String value)
String
value
- the value of the recoveryDelay propertypublic String getRedundantCopies()
String
public void setRedundantCopies(String value)
String
value
- the value of the redundantCopies propertypublic String getStartupRecoveryDelay()
String
public void setStartupRecoveryDelay(String value)
String
value
- the value of the startupRecoveryDelay propertypublic String getTotalMaxMemory()
String
public void setTotalMaxMemory(String value)
String
value
- the value of the totalMaxMemory propertypublic String getTotalNumBuckets()
String
public void setTotalNumBuckets(String value)
String
value
- the value of the totalNumBuckets propertypublic String getColocatedWith()
String