@Experimental public class PoolType extends Object
Java class for pool-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="pool-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="locator" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="host" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="server" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="host" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<attribute name="subscription-timeout-multiplier" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="socket-connect-timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="free-connection-timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="server-connection-timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="load-conditioning-interval" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="min-connections" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="max-connections" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="retry-attempts" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="idle-timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ping-interval" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="read-timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="server-group" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="socket-buffer-size" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="subscription-enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="subscription-message-tracking-timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="subscription-ack-interval" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="subscription-redundancy" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="statistic-interval" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="thread-local-connections" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="pr-single-hop-enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="multiuser-authentication" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
PoolType.Locator
Java class for anonymous complex type.
|
static class |
PoolType.Server
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
freeConnectionTimeout |
protected String |
idleTimeout |
protected String |
loadConditioningInterval |
protected List<PoolType.Locator> |
locators |
protected String |
maxConnections |
protected String |
minConnections |
protected String |
name |
protected String |
pingInterval |
protected Boolean |
prSingleHopEnabled |
protected String |
readTimeout |
protected String |
retryAttempts |
protected String |
serverConnectionTimeout |
protected String |
serverGroup |
protected List<PoolType.Server> |
servers |
protected String |
socketBufferSize |
protected String |
statisticInterval |
protected String |
subscriptionAckInterval |
protected Boolean |
subscriptionEnabled |
protected String |
subscriptionRedundancy |
protected Boolean |
threadLocalConnections
Deprecated.
|
| Constructor and Description |
|---|
PoolType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFreeConnectionTimeout()
Gets the value of the freeConnectionTimeout property.
|
String |
getIdleTimeout()
Gets the value of the idleTimeout property.
|
String |
getLoadConditioningInterval()
Gets the value of the loadConditioningInterval property.
|
List<PoolType.Locator> |
getLocators()
Gets the value of the locator property.
|
String |
getMaxConnections()
Gets the value of the maxConnections property.
|
String |
getMinConnections()
Gets the value of the minConnections property.
|
String |
getName()
Gets the value of the name property.
|
String |
getPingInterval()
Gets the value of the pingInterval property.
|
String |
getReadTimeout()
Gets the value of the readTimeout property.
|
String |
getRetryAttempts()
Gets the value of the retryAttempts property.
|
String |
getServerConnectionTimeout()
Gets the value of the serverConnectionTimeout property.
|
String |
getServerGroup()
Gets the value of the serverGroup property.
|
List<PoolType.Server> |
getServers()
Gets the value of the server property.
|
String |
getSocketBufferSize()
Gets the value of the socketBufferSize property.
|
String |
getSocketConnectTimeout()
Gets the value of the socketConnectTimeout property.
|
String |
getStatisticInterval()
Gets the value of the statisticInterval property.
|
String |
getSubscriptionAckInterval()
Gets the value of the subscriptionAckInterval property.
|
String |
getSubscriptionMessageTrackingTimeout()
Gets the value of the subscriptionMessageTrackingTimeout property.
|
String |
getSubscriptionRedundancy()
Gets the value of the subscriptionRedundancy property.
|
String |
getSubscriptionTimeoutMultiplier()
Gets the value of the subscriptionTimeoutMultiplier property.
|
Boolean |
isMultiuserAuthentication()
Gets the value of the multiuserAuthentication property.
|
Boolean |
isPrSingleHopEnabled()
Gets the value of the prSingleHopEnabled property.
|
Boolean |
isSubscriptionEnabled()
Gets the value of the subscriptionEnabled property.
|
Boolean |
isThreadLocalConnections()
Deprecated.
Since Geode 1.10.0. Thread local connections are ignored. Will be removed in future
major release.
|
void |
setFreeConnectionTimeout(String value)
Sets the value of the freeConnectionTimeout property.
|
void |
setIdleTimeout(String value)
Sets the value of the idleTimeout property.
|
void |
setLoadConditioningInterval(String value)
Sets the value of the loadConditioningInterval property.
|
void |
setMaxConnections(String value)
Sets the value of the maxConnections property.
|
void |
setMinConnections(String value)
Sets the value of the minConnections property.
|
void |
setMultiuserAuthentication(Boolean value)
Sets the value of the multiuserAuthentication property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPingInterval(String value)
Sets the value of the pingInterval property.
|
void |
setPrSingleHopEnabled(Boolean value)
Sets the value of the prSingleHopEnabled property.
|
void |
setReadTimeout(String value)
Sets the value of the readTimeout property.
|
void |
setRetryAttempts(String value)
Sets the value of the retryAttempts property.
|
void |
setServerConnectionTimeout(String value)
Sets the value of the serverConnectionTimeout property.
|
void |
setServerGroup(String value)
Sets the value of the serverGroup property.
|
void |
setSocketBufferSize(String value)
Sets the value of the socketBufferSize property.
|
void |
setSocketConnectTimeout(String value)
Sets the value of the socketConnectTimeout property.
|
void |
setStatisticInterval(String value)
Sets the value of the statisticInterval property.
|
void |
setSubscriptionAckInterval(String value)
Sets the value of the subscriptionAckInterval property.
|
void |
setSubscriptionEnabled(Boolean value)
Sets the value of the subscriptionEnabled property.
|
void |
setSubscriptionMessageTrackingTimeout(String value)
Sets the value of the subscriptionMessageTrackingTimeout property.
|
void |
setSubscriptionRedundancy(String value)
Sets the value of the subscriptionRedundancy property.
|
void |
setSubscriptionTimeoutMultiplier(String value)
Sets the value of the subscriptionTimeoutMultiplier property.
|
void |
setThreadLocalConnections(Boolean value)
Deprecated.
Since Geode 1.10.0. Thread local connections are ignored. Will be removed in future
major release.
|
protected List<PoolType.Locator> locators
protected List<PoolType.Server> servers
protected String freeConnectionTimeout
protected String serverConnectionTimeout
protected String loadConditioningInterval
protected String minConnections
protected String maxConnections
protected String retryAttempts
protected String idleTimeout
protected String pingInterval
protected String name
protected String readTimeout
protected String serverGroup
protected String socketBufferSize
protected Boolean subscriptionEnabled
protected String subscriptionAckInterval
protected String subscriptionRedundancy
protected String statisticInterval
@Deprecated protected Boolean threadLocalConnections
protected Boolean prSingleHopEnabled
public List<PoolType.Locator> getLocators()
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 locator property.
For example, to add a new item, do as follows:
getLocators().add(newItem);
Objects of the following type(s) are allowed in the list
PoolType.Locator
List of PoolType.Locators representing the locators property.public List<PoolType.Server> getServers()
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 server property.
For example, to add a new item, do as follows:
getServers().add(newItem);
Objects of the following type(s) are allowed in the list
PoolType.Server
List of PoolType.Servers representing the server property.public String getSubscriptionTimeoutMultiplier()
Stringpublic void setSubscriptionTimeoutMultiplier(String value)
Stringvalue - the subscription timeout multiplier.public String getSocketConnectTimeout()
Stringpublic void setSocketConnectTimeout(String value)
Stringvalue - the socket connection timeout.public String getFreeConnectionTimeout()
Stringpublic void setFreeConnectionTimeout(String value)
Stringvalue - the free connection timeout.public String getServerConnectionTimeout()
Stringpublic void setServerConnectionTimeout(String value)
Stringvalue - the server connection timeout.public String getLoadConditioningInterval()
Stringpublic void setLoadConditioningInterval(String value)
Stringvalue - the load conditioning interval.public String getMinConnections()
Stringpublic void setMinConnections(String value)
Stringvalue - the minimum value of connections.public String getMaxConnections()
Stringpublic void setMaxConnections(String value)
Stringvalue - the maximum number of connections.public String getRetryAttempts()
Stringpublic void setRetryAttempts(String value)
Stringvalue - the number of times to retry.public String getIdleTimeout()
Stringpublic void setIdleTimeout(String value)
Stringvalue - the idle timeout.public String getPingInterval()
Stringpublic void setPingInterval(String value)
Stringvalue - the ping interval.public String getName()
Stringpublic void setName(String value)
Stringvalue - the name.public String getReadTimeout()
Stringpublic void setReadTimeout(String value)
Stringvalue - the read timeout.public String getServerGroup()
Stringpublic void setServerGroup(String value)
Stringvalue - name of the server group.public String getSocketBufferSize()
Stringpublic void setSocketBufferSize(String value)
Stringvalue - the size to use for the socket buffer.public Boolean isSubscriptionEnabled()
Booleanpublic void setSubscriptionEnabled(Boolean value)
Booleanvalue - enables or disables subscriptions.public String getSubscriptionMessageTrackingTimeout()
Stringpublic void setSubscriptionMessageTrackingTimeout(String value)
Stringvalue - the subscription message tracking timeout.public String getSubscriptionAckInterval()
Stringpublic void setSubscriptionAckInterval(String value)
Stringvalue - the subscription ack interval.public String getSubscriptionRedundancy()
Stringpublic void setSubscriptionRedundancy(String value)
Stringvalue - the number of servers to use as backups. Set to -1 to use all non-primaries as
backups.public String getStatisticInterval()
Stringpublic void setStatisticInterval(String value)
Stringvalue - the statistics interval.@Deprecated public Boolean isThreadLocalConnections()
Boolean@Deprecated public void setThreadLocalConnections(Boolean value)
Booleanvalue - enables or disables thread local connections.public Boolean isPrSingleHopEnabled()
Booleanpublic void setPrSingleHopEnabled(Boolean value)
Booleanvalue - enables or disables partitioned region single hoppublic Boolean isMultiuserAuthentication()
Boolean