Package | Description |
---|---|
com.gemstone.gemfire.cache.client |
The
com.gemstone.gemfire.cache.client package provides APIs used
for client connectivity and caching. |
Modifier and Type | Method and Description |
---|---|
PoolFactory |
PoolFactory.addLocator(String host,
int port)
Add a locator, given its host and port, to this factory.
|
PoolFactory |
PoolFactory.addServer(String host,
int port)
Add a server, given its host and port, to this factory.
|
static PoolFactory |
PoolManager.createFactory()
Creates a new
pool factory ,
which is used to configure and create new Pool s. |
PoolFactory |
PoolFactory.reset()
Resets the configuration of this factory to its defaults.
|
PoolFactory |
PoolFactory.setFreeConnectionTimeout(int connectionTimeout)
Sets the free connection timeout for this pool.
|
PoolFactory |
PoolFactory.setIdleTimeout(long idleTimeout)
Set the amount of time a connection can be idle before expiring the connection.
|
PoolFactory |
PoolFactory.setLoadConditioningInterval(int loadConditioningInterval)
Sets the load conditioning interval for this pool.
|
PoolFactory |
PoolFactory.setMaxConnections(int maxConnections)
Set the max number of client to server connections that the pool will create.
|
PoolFactory |
PoolFactory.setMinConnections(int minConnections)
Set the minimum number of connections to keep available at all times.
|
PoolFactory |
PoolFactory.setMultiuserAuthentication(boolean enabled)
If set to
true then the created pool can be used by multiple
authenticated users. |
PoolFactory |
PoolFactory.setPingInterval(long pingInterval)
How often to ping servers to verify that they are still alive.
|
PoolFactory |
PoolFactory.setPRSingleHopEnabled(boolean enabled)
By default setPRSingleHopEnabled is
true
in which case the client is aware of the location of partitions on servers hosting
regions with
DataPolicy.PARTITION . |
PoolFactory |
PoolFactory.setReadTimeout(int timeout)
Sets the number of milliseconds to wait for a response from a server before
timing out the operation and trying another server (if any are available).
|
PoolFactory |
PoolFactory.setRetryAttempts(int retryAttempts)
Set the number of times to retry a request after timeout/exception.
|
PoolFactory |
PoolFactory.setServerGroup(String group)
Configures the group that all servers this pool connects to must belong to.
|
PoolFactory |
PoolFactory.setSocketBufferSize(int bufferSize)
Sets the socket buffer size for each connection made in this pool.
|
PoolFactory |
PoolFactory.setStatisticInterval(int statisticInterval)
How often to send client statistics to the server.
|
PoolFactory |
PoolFactory.setSubscriptionAckInterval(int ackInterval)
Sets the interval in milliseconds
to wait before sending acknowledgements to the bridge server for
events received from the server subscriptions.
|
PoolFactory |
PoolFactory.setSubscriptionEnabled(boolean enabled)
If set to
true then the created pool will have server-to-client
subscriptions enabled. |
PoolFactory |
PoolFactory.setSubscriptionMessageTrackingTimeout(int messageTrackingTimeout)
Sets the messageTrackingTimeout attribute which is the time-to-live period, in
milliseconds, for subscription events the client has received from the server.
|
PoolFactory |
PoolFactory.setSubscriptionRedundancy(int redundancy)
Sets the redundancy level for this pools server-to-client subscriptions.
|
PoolFactory |
PoolFactory.setThreadLocalConnections(boolean threadLocalConnections)
Sets the thread local connections policy for this pool.
|
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.