@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.Locator
s 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.Server
s representing the server property.public String getSubscriptionTimeoutMultiplier()
String
public void setSubscriptionTimeoutMultiplier(String value)
String
value
- the subscription timeout multiplier.public String getSocketConnectTimeout()
String
public void setSocketConnectTimeout(String value)
String
value
- the socket connection timeout.public String getFreeConnectionTimeout()
String
public void setFreeConnectionTimeout(String value)
String
value
- the free connection timeout.public String getServerConnectionTimeout()
String
public void setServerConnectionTimeout(String value)
String
value
- the server connection timeout.public String getLoadConditioningInterval()
String
public void setLoadConditioningInterval(String value)
String
value
- the load conditioning interval.public String getMinConnections()
String
public void setMinConnections(String value)
String
value
- the minimum value of connections.public String getMaxConnections()
String
public void setMaxConnections(String value)
String
value
- the maximum number of connections.public String getRetryAttempts()
String
public void setRetryAttempts(String value)
String
value
- the number of times to retry.public String getIdleTimeout()
String
public void setIdleTimeout(String value)
String
value
- the idle timeout.public String getPingInterval()
String
public void setPingInterval(String value)
String
value
- the ping interval.public String getName()
String
public void setName(String value)
String
value
- the name.public String getReadTimeout()
String
public void setReadTimeout(String value)
String
value
- the read timeout.public String getServerGroup()
String
public void setServerGroup(String value)
String
value
- name of the server group.public String getSocketBufferSize()
String
public void setSocketBufferSize(String value)
String
value
- the size to use for the socket buffer.public Boolean isSubscriptionEnabled()
Boolean
public void setSubscriptionEnabled(Boolean value)
Boolean
value
- enables or disables subscriptions.public String getSubscriptionMessageTrackingTimeout()
String
public void setSubscriptionMessageTrackingTimeout(String value)
String
value
- the subscription message tracking timeout.public String getSubscriptionAckInterval()
String
public void setSubscriptionAckInterval(String value)
String
value
- the subscription ack interval.public String getSubscriptionRedundancy()
String
public void setSubscriptionRedundancy(String value)
String
value
- the number of servers to use as backups. Set to -1 to use all non-primaries as
backups.public String getStatisticInterval()
String
public void setStatisticInterval(String value)
String
value
- the statistics interval.@Deprecated public Boolean isThreadLocalConnections()
Boolean
@Deprecated public void setThreadLocalConnections(Boolean value)
Boolean
value
- enables or disables thread local connections.public Boolean isPrSingleHopEnabled()
Boolean
public void setPrSingleHopEnabled(Boolean value)
Boolean
value
- enables or disables partitioned region single hoppublic Boolean isMultiuserAuthentication()
Boolean