Click or drag to resize
PoolFactory Methods

The PoolFactory type exposes the following members.

Methods
  NameDescription
Public methodAddLocator
Add a locator, given its host and port, to this factory.
Public methodAddServer
Add a server, given its host and port, to this factory.
Public methodCreate
Create a new Pool for connecting a client to a set of GemFire Cache Servers. using this factory's settings for attributes.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReset
Resets the configuration of this factory to its defaults.
Public methodSetFreeConnectionTimeout
Sets the free connection timeout for this pool.
Public methodSetIdleTimeout
Set the amount of time a connection can be idle before expiring the connection.
Public methodSetLoadConditioningInterval
Sets the load conditioning interval for this pool.
Public methodSetMaxConnections
Set the max number of client to server connections that the pool will create.
Public methodSetMinConnections
Set the minimum number of connections to keep available at all times.
Public methodSetMultiuserAuthentication
Sets whether pool is in multiuser mode If its in multiuser mode then app needs to get instance of cache from pool.getCache("creds"), to do the operations on cache.
Public methodSetPingInterval
Set how often to ping servers to verify that they are still alive.
Public methodSetPRSingleHopEnabled
Public methodSetReadTimeout
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).
Public methodSetRetryAttempts
Set the number of times to retry a request after timeout/exception.
Public methodSetServerGroup
Configures the group that all servers this pool connects to must belong to.
Public methodSetSocketBufferSize
Sets the socket buffer size for each connection made in this pool.
Public methodSetStatisticInterval
Set how often to send client statistics to the server.
Public methodSetSubscriptionAckInterval
Sets the is the interval in milliseconds to wait before sending acknowledgements to the bridge server for events received from the server subscriptions.
Public methodSetSubscriptionEnabled
Enable subscriptions.
Public methodSetSubscriptionMessageTrackingTimeout
Sets the messageTrackingTimeout attribute which is the time-to-live period, in milliseconds, for subscription events the client has received from the server.
Public methodSetSubscriptionRedundancy
Sets the redundancy level for this pools server-to-client subscriptions.
Public methodSetThreadLocalConnections
Enable ThreadLocalConnection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also