public class PoolDescription extends AbstractDescription implements Serializable
| Constructor and Description |
|---|
PoolDescription() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.gemstone.gemfire.cache.client.ClientCacheFactory f)
Configures the client cache factory using this pool description.
|
void |
configure(com.gemstone.gemfire.cache.client.PoolFactory f)
Configures the pool factory using this pool description.
|
protected static void |
configure(TestConfig config)
Creates pool descriptions from the pool parameters in the test
configuration.
|
protected static boolean |
equals(com.gemstone.gemfire.cache.client.PoolFactory f,
com.gemstone.gemfire.cache.client.Pool p)
Returns whether the factory attributes are the same as the pool.
|
Integer |
getMaxConnections()
Returns the max connections.
|
Integer |
getMinConnections()
Returns the min connections.
|
String |
getName()
Returns the logical name of this pool description and actual name of the
pool.
|
Long |
getPingInterval()
Returns the ping interval.
|
Integer |
getReadTimeout()
Returns the read timeout.
|
Integer |
getRetryAttempts()
Returns the retry attempts.
|
String |
getServerGroup()
Returns the server group.
|
Integer |
getStatisticInterval()
Returns the statistic interval.
|
protected static String |
poolFactoryToString(String poolName,
com.gemstone.gemfire.cache.client.PoolFactory f)
Returns the named pool factory as a string.
|
protected static String |
poolToString(com.gemstone.gemfire.cache.client.Pool p)
Returns the pool as a string.
|
void |
setMaxConnections(Integer i)
Sets the max connections.
|
void |
setMinConnections(Integer i)
Sets the min connections.
|
void |
setPingInterval(Long l)
Sets the ping interval.
|
void |
setRetryAttempts(Integer i)
Sets the retry attempts.
|
void |
setStatisticInterval(Integer v)
Sets the statistic interval.
|
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 Integer getMinConnections()
public void setMinConnections(Integer i)
public Integer getMaxConnections()
public void setMaxConnections(Integer i)
public Long getPingInterval()
public void setPingInterval(Long l)
public Integer getReadTimeout()
public Integer getRetryAttempts()
public void setRetryAttempts(Integer i)
public String getServerGroup()
public Integer getStatisticInterval()
public void setStatisticInterval(Integer v)
public void configure(com.gemstone.gemfire.cache.client.PoolFactory f)
public void configure(com.gemstone.gemfire.cache.client.ClientCacheFactory f)
protected static String poolToString(com.gemstone.gemfire.cache.client.Pool p)
#poolToString(Pool).protected static String poolFactoryToString(String poolName, com.gemstone.gemfire.cache.client.PoolFactory f)
PoolHelper.poolFactoryToString(String, PoolFactory).protected static boolean equals(com.gemstone.gemfire.cache.client.PoolFactory f,
com.gemstone.gemfire.cache.client.Pool p)
public SortedMap toSortedMap()
AbstractDescriptiontoSortedMap in class AbstractDescriptionprotected static void configure(TestConfig config)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.