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