public class PartitionDescription extends AbstractDescription implements Serializable
| Constructor and Description |
|---|
PartitionDescription() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
configure(TestConfig config)
Creates partition descriptions from the partition parameters in the test
configuration.
|
FixedPartitionDescription |
getFixedPartitionDescription()
Returns the fixed partition description.
|
String |
getName()
Returns the logical name of this partition description.
|
com.gemstone.gemfire.cache.PartitionAttributes |
getPartitionAttributes()
Returns the cached instance of partition attributes for this description.
|
protected com.gemstone.gemfire.cache.PartitionAttributes |
getPartitionAttributes(String regionName)
Returns the cached instance of partition attributes for this description.
|
com.gemstone.gemfire.cache.PartitionAttributesFactory |
getPartitionAttributesFactory()
Returns the cached instance of partition attributes factory for this
description.
|
protected com.gemstone.gemfire.cache.PartitionAttributesFactory |
getPartitionAttributesFactory(String regionName)
Returns the cached instance of partition attributes factory for this
description.
|
Integer |
getRedundantCopies()
Returns the redundant copies.
|
protected static String |
partitionAttributesToString(com.gemstone.gemfire.cache.PartitionAttributes p)
Returns the partition attributes as a string.
|
SortedMap |
toSortedMap()
Returns a sorted map of description fields and their values.
|
addProperties, asList, convertPrm, convertPrmDefault, getBooleanFor, getClass, getClassname, getInstance, getIntegerFor, getNonnegativeIntegerFor, getParametersAndDefaults, getPath, getSSLDescription, loadClass, parseMethod, toStringpublic String getName()
public FixedPartitionDescription getFixedPartitionDescription()
public Integer getRedundantCopies()
public com.gemstone.gemfire.cache.PartitionAttributesFactory getPartitionAttributesFactory()
protected com.gemstone.gemfire.cache.PartitionAttributesFactory getPartitionAttributesFactory(String regionName)
public com.gemstone.gemfire.cache.PartitionAttributes getPartitionAttributes()
protected com.gemstone.gemfire.cache.PartitionAttributes getPartitionAttributes(String regionName)
protected static String partitionAttributesToString(com.gemstone.gemfire.cache.PartitionAttributes p)
RegionDescription#partitionAttributesToString(PartitionAttributes).public SortedMap toSortedMap()
AbstractDescriptiontoSortedMap in class AbstractDescriptionprotected static void configure(TestConfig config)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.