Class PoolType
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected List<PoolType.Locator>protected Stringprotected Stringprotected Stringprotected Stringprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected List<PoolType.Server>protected Stringprotected Stringprotected Stringprotected Booleanprotected Stringprotected BooleanDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the freeConnectionTimeout property.Gets the value of the idleTimeout property.Gets the value of the loadConditioningInterval property.Gets the value of the locator property.Gets the value of the maxConnections property.Gets the value of the minConnections property.getName()Gets the value of the name property.Gets the value of the pingInterval property.Gets the value of the readTimeout property.Gets the value of the retryAttempts property.Gets the value of the serverConnectionTimeout property.Gets the value of the serverGroup property.Gets the value of the server property.Gets the value of the socketBufferSize property.Gets the value of the socketConnectTimeout property.Gets the value of the statisticInterval property.Gets the value of the subscriptionAckInterval property.Gets the value of the subscriptionMessageTrackingTimeout property.Gets the value of the subscriptionRedundancy property.Gets the value of the subscriptionTimeoutMultiplier property.Gets the value of the multiuserAuthentication property.Gets the value of the prSingleHopEnabled property.Gets the value of the subscriptionEnabled property.Deprecated.Since Geode 1.10.0.voidsetFreeConnectionTimeout(String value) Sets the value of the freeConnectionTimeout property.voidsetIdleTimeout(String value) Sets the value of the idleTimeout property.voidSets the value of the loadConditioningInterval property.voidsetMaxConnections(String value) Sets the value of the maxConnections property.voidsetMinConnections(String value) Sets the value of the minConnections property.voidSets the value of the multiuserAuthentication property.voidSets the value of the name property.voidsetPingInterval(String value) Sets the value of the pingInterval property.voidsetPrSingleHopEnabled(Boolean value) Sets the value of the prSingleHopEnabled property.voidsetReadTimeout(String value) Sets the value of the readTimeout property.voidsetRetryAttempts(String value) Sets the value of the retryAttempts property.voidsetServerConnectionTimeout(String value) Sets the value of the serverConnectionTimeout property.voidsetServerGroup(String value) Sets the value of the serverGroup property.voidsetSocketBufferSize(String value) Sets the value of the socketBufferSize property.voidsetSocketConnectTimeout(String value) Sets the value of the socketConnectTimeout property.voidsetStatisticInterval(String value) Sets the value of the statisticInterval property.voidsetSubscriptionAckInterval(String value) Sets the value of the subscriptionAckInterval property.voidsetSubscriptionEnabled(Boolean value) Sets the value of the subscriptionEnabled property.voidSets the value of the subscriptionMessageTrackingTimeout property.voidsetSubscriptionRedundancy(String value) Sets the value of the subscriptionRedundancy property.voidSets the value of the subscriptionTimeoutMultiplier property.voidsetThreadLocalConnections(Boolean value) Deprecated.Since Geode 1.10.0.
-
Field Details
-
locators
-
servers
-
freeConnectionTimeout
-
serverConnectionTimeout
-
loadConditioningInterval
-
minConnections
-
maxConnections
-
retryAttempts
-
idleTimeout
-
pingInterval
-
name
-
readTimeout
-
serverGroup
-
socketBufferSize
-
subscriptionEnabled
-
subscriptionAckInterval
-
subscriptionRedundancy
-
statisticInterval
-
threadLocalConnections
Deprecated. -
prSingleHopEnabled
-
-
Constructor Details
-
PoolType
public PoolType()
-
-
Method Details
-
getLocators
Gets the value of the locator property.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
setmethod 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- Returns:
- the
ListofPoolType.Locators representing the locators property.
-
getServers
Gets the value of the server property.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
setmethod 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- Returns:
- a
ListofPoolType.Servers representing the server property.
-
getSubscriptionTimeoutMultiplier
Gets the value of the subscriptionTimeoutMultiplier property. possible object isString- Returns:
- the subscription timeout multiplier.
-
setSubscriptionTimeoutMultiplier
Sets the value of the subscriptionTimeoutMultiplier property. allowed object isString- Parameters:
value- the subscription timeout multiplier.
-
getSocketConnectTimeout
Gets the value of the socketConnectTimeout property. possible object isString- Returns:
- the socket connection timeout.
-
setSocketConnectTimeout
Sets the value of the socketConnectTimeout property. allowed object isString- Parameters:
value- the socket connection timeout.
-
getFreeConnectionTimeout
Gets the value of the freeConnectionTimeout property. possible object isString- Returns:
- the free connection timeout.
-
setFreeConnectionTimeout
Sets the value of the freeConnectionTimeout property. allowed object isString- Parameters:
value- the free connection timeout.
-
getServerConnectionTimeout
Gets the value of the serverConnectionTimeout property. possible object isString- Returns:
- the server connection timeout.
-
setServerConnectionTimeout
Sets the value of the serverConnectionTimeout property. allowed object isString- Parameters:
value- the server connection timeout.
-
getLoadConditioningInterval
Gets the value of the loadConditioningInterval property. possible object isString- Returns:
- the load conditioning interval.
-
setLoadConditioningInterval
Sets the value of the loadConditioningInterval property. allowed object isString- Parameters:
value- the load conditioning interval.
-
getMinConnections
Gets the value of the minConnections property. possible object isString- Returns:
- the minimum value of connections.
-
setMinConnections
Sets the value of the minConnections property. allowed object isString- Parameters:
value- the minimum value of connections.
-
getMaxConnections
Gets the value of the maxConnections property. possible object isString- Returns:
- the maximum number of connections.
-
setMaxConnections
Sets the value of the maxConnections property. allowed object isString- Parameters:
value- the maximum number of connections.
-
getRetryAttempts
Gets the value of the retryAttempts property. possible object isString- Returns:
- the number or allowed retry attempts.
-
setRetryAttempts
Sets the value of the retryAttempts property. allowed object isString- Parameters:
value- the number of times to retry.
-
getIdleTimeout
Gets the value of the idleTimeout property. possible object isString- Returns:
- the idle timeout.
-
setIdleTimeout
Sets the value of the idleTimeout property. allowed object isString- Parameters:
value- the idle timeout.
-
getPingInterval
Gets the value of the pingInterval property. possible object isString- Returns:
- the ping interval.
-
setPingInterval
Sets the value of the pingInterval property. allowed object isString- Parameters:
value- the ping interval.
-
getName
Gets the value of the name property. possible object isString- Returns:
- the name.
-
setName
Sets the value of the name property. allowed object isString- Parameters:
value- the name.
-
getReadTimeout
Gets the value of the readTimeout property. possible object isString- Returns:
- the read timeout.
-
setReadTimeout
Sets the value of the readTimeout property. allowed object isString- Parameters:
value- the read timeout.
-
getServerGroup
Gets the value of the serverGroup property. possible object isString- Returns:
- the name of the server group.
-
setServerGroup
Sets the value of the serverGroup property. allowed object isString- Parameters:
value- name of the server group.
-
getSocketBufferSize
Gets the value of the socketBufferSize property. possible object isString- Returns:
- the size of the socket buffer.
-
setSocketBufferSize
Sets the value of the socketBufferSize property. allowed object isString- Parameters:
value- the size to use for the socket buffer.
-
isSubscriptionEnabled
Gets the value of the subscriptionEnabled property. possible object isBoolean- Returns:
- true if subscriptions are enabled.
-
setSubscriptionEnabled
Sets the value of the subscriptionEnabled property. allowed object isBoolean- Parameters:
value- enables or disables subscriptions.
-
getSubscriptionMessageTrackingTimeout
Gets the value of the subscriptionMessageTrackingTimeout property. possible object isString- Returns:
- the subscription message tracking timeout.
-
setSubscriptionMessageTrackingTimeout
Sets the value of the subscriptionMessageTrackingTimeout property. allowed object isString- Parameters:
value- the subscription message tracking timeout.
-
getSubscriptionAckInterval
Gets the value of the subscriptionAckInterval property. possible object isString- Returns:
- the subscription ack interval.
-
setSubscriptionAckInterval
Sets the value of the subscriptionAckInterval property. allowed object isString- Parameters:
value- the subscription ack interval.
-
getSubscriptionRedundancy
Gets the value of the subscriptionRedundancy property. possible object isString- Returns:
- the number of servers being used as backups.
-
setSubscriptionRedundancy
Sets the value of the subscriptionRedundancy property. allowed object isString- Parameters:
value- the number of servers to use as backups. Set to -1 to use all non-primaries as backups.
-
getStatisticInterval
Gets the value of the statisticInterval property. possible object isString- Returns:
- the statistics interval.
-
setStatisticInterval
Sets the value of the statisticInterval property. allowed object isString- Parameters:
value- the statistics interval.
-
isThreadLocalConnections
Deprecated.Since Geode 1.10.0. Thread local connections are ignored. Will be removed in future major release.Gets the value of the threadLocalConnections property. possible object isBoolean- Returns:
- true is using thread local connections, false otherwise.
-
setThreadLocalConnections
Deprecated.Since Geode 1.10.0. Thread local connections are ignored. Will be removed in future major release.Sets the value of the threadLocalConnections property. allowed object isBoolean- Parameters:
value- enables or disables thread local connections.
-
isPrSingleHopEnabled
Gets the value of the prSingleHopEnabled property. possible object isBoolean- Returns:
- true if partitioned region single hop is enabled, false otherwise.
-
setPrSingleHopEnabled
Sets the value of the prSingleHopEnabled property. allowed object isBoolean- Parameters:
value- enables or disables partitioned region single hop
-
isMultiuserAuthentication
Gets the value of the multiuserAuthentication property. possible object isBoolean- Returns:
- true is using multiuser authentication, false otherwise.
-
setMultiuserAuthentication
Sets the value of the multiuserAuthentication property. allowed object isBoolean- Parameters:
value- enables or disables multiuser authentication.
-