|
Apache Geode Native .NET Reference 1.15.0
|
This interface provides for the configuration and creation of instances of Pool. More...
#include <PoolFactory.hpp>
Public Member Functions | |
| PoolFactory ^ | AddLocator (String^ host, Int32 port) |
| Add a locator, given its host and port, to this factory. More... | |
| PoolFactory ^ | AddServer (String^ host, Int32 port) |
| Add a server, given its host and port, to this factory. More... | |
| Pool ^ | Create (String^ name) |
| Create a new Pool for connecting a client to a set of Geode Cache Servers. More... | |
| PoolFactory ^ | Reset () |
| Resets the configuration of this factory to its defaults. More... | |
| PoolFactory ^ | SetFreeConnectionTimeout (TimeSpan connectionTimeout) |
| Sets the free connection timeout for this pool. More... | |
| PoolFactory ^ | SetIdleTimeout (TimeSpan idleTimeout) |
| Set the amount of time a connection can be idle before expiring the connection. More... | |
| PoolFactory ^ | SetLoadConditioningInterval (TimeSpan loadConditioningInterval) |
| Sets the load conditioning interval for this pool. More... | |
| PoolFactory ^ | SetMaxConnections (Int32 maxConnections) |
| Set the max number of client to server connections that the pool will create. More... | |
| PoolFactory ^ | SetMinConnections (Int32 minConnections) |
| Set the minimum number of connections to keep available at all times. More... | |
| PoolFactory ^ | SetMultiuserAuthentication (bool multiuserAuthentication) |
| 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. More... | |
| PoolFactory ^ | SetPingInterval (TimeSpan pingInterval) |
| Set how often to ping servers to verify that they are still alive. More... | |
| PoolFactory ^ | SetPRSingleHopEnabled (Boolean enabled) |
| By default SetPRSingleHopEnabled is true. More... | |
| PoolFactory ^ | SetReadTimeout (TimeSpan timeout) |
| Sets the time to wait for a response from a server before timing out the operation and trying another server (if any are available). More... | |
| PoolFactory ^ | SetRetryAttempts (Int32 retryAttempts) |
| Set the number of times to retry a request after timeout/exception. More... | |
| PoolFactory ^ | SetServerGroup (String^ group) |
| Configures the group that all servers this pool connects to must belong to. More... | |
| PoolFactory ^ | SetSniProxy (String^ hostname, Int32 port) |
| Set proxy info for SNI connection. More... | |
| PoolFactory ^ | SetSocketBufferSize (Int32 bufferSize) |
| Sets the socket buffer size for each connection made in this pool. More... | |
| PoolFactory ^ | SetStatisticInterval (TimeSpan statisticInterval) |
| Set how often to send client statistics to the server. More... | |
| PoolFactory ^ | SetSubscriptionAckInterval (TimeSpan ackInterval) |
| Sets the is the interval in milliseconds to wait before sending acknowledgements to the bridge server for events received from the server subscriptions. More... | |
| PoolFactory ^ | SetSubscriptionEnabled (Boolean enabled) |
| Enable subscriptions. More... | |
| PoolFactory ^ | SetSubscriptionMessageTrackingTimeout (TimeSpan messageTrackingTimeout) |
| Sets the messageTrackingTimeout attribute which is the time-to-live period, in milliseconds, for subscription events the client has received from the server. More... | |
| PoolFactory ^ | SetSubscriptionRedundancy (Int32 redundancy) |
| Sets the redundancy level for this pools server-to-client subscriptions. More... | |
| PoolFactory ^ | SetThreadLocalConnections (Boolean enabled) |
| Enable ThreadLocalConnection. More... | |
| PoolFactory ^ | SetUpdateLocatorListInterval (TimeSpan updateLocatorListInterval) |
| Set how often to update locator list from locator More... | |
This interface provides for the configuration and creation of instances of Pool.
| PoolFactory ^ Apache::Geode::Client::PoolFactory::AddLocator | ( | String^ | host, |
| Int32 | port | ||
| ) |
Add a locator, given its host and port, to this factory.
The locator must be a server locator and will be used to discover other running bridge servers and locators.
host the host name or ip address that the locator is listening on.
port the port that the locator is listening on
throws IllegalArgumentException if host is an unknown host or if port is outside the valid range of [1..65535] inclusive.
throws IllegalStateException if a locator has already been added to this factory.