|
Boolean | Destroyed [get] |
| Indicates whether this Pool has been destroyed.
|
|
TimeSpan | FreeConnectionTimeout [get] |
| Returns the connection timeout of this pool.
|
|
TimeSpan | IdleTimeout [get] |
| Get the Idle connection timeout for this pool.
|
|
TimeSpan | LoadConditioningInterval [get] |
| Returns the load conditioning interval of this pool.
|
|
array< String^>^ | Locators [get] |
| Returns an unmodifiable list of locators this pool is using.
|
|
Int32 | MaxConnections [get] |
| Get the maximum connections for this pool.
|
|
Int32 | MinConnections [get] |
| Get the minimum connections for this pool.
|
|
bool | MultiuserAuthentication [get] |
| Returns true if multiuser authentication is enabled on this pool.
|
|
String^ | Name [get] |
| Get the name of the pool.
|
|
Int32 | PendingEventCount [get] |
|
Returns the approximate number of pending subscription events maintained at server for this durable client pool at the time it (re)connected to the server.
|
|
TimeSpan | PingInterval [get] |
| Get the ping interval for this pool.
|
|
Boolean | PRSingleHopEnabled [get] |
| Returns the true if a pr-single-hop is set to true on this pool.
|
|
TimeSpan | ReadTimeout [get] |
| Returns the read timeout of this pool.
|
|
Int32 | RetryAttempts [get] |
| Get the retry attempts for this pool.
|
|
String^ | ServerGroup [get] |
| Returns the server group of this pool.
|
|
array< String^>^ | Servers [get] |
| Returns an unmodifiable list of servers this pool is using.
|
|
String^ | SniProxyHost [get] |
| Get the host name for the pool's SniProxy.
|
|
Int32 | SniProxyPort [get] |
| Get the host port for the pool's SniProxy.
|
|
Int32 | SocketBufferSize [get] |
| Returns the socket buffer size of this pool.
|
|
TimeSpan | StatisticInterval [get] |
| Get the statistic interval for this pool.
|
|
TimeSpan | SubscriptionAckInterval [get] |
| Returns the subscription ack interval of this pool.
|
|
Boolean | SubscriptionEnabled [get] |
| Returns the true if a server-to-client subscriptions are enabled on this pool.
|
|
TimeSpan | SubscriptionMessageTrackingTimeout [get] |
| Returns the subscription message tracking timeout of this pool.
|
|
Int32 | SubscriptionRedundancy [get] |
| Returns the subscription redundancy level of this pool.
|
|
Boolean | ThreadLocalConnections [get] |
| Returns the true if ThreadLocalConnections are enabled on this pool.
|
|
TimeSpan | UpdateLocatorListInterval [get] |
| Get the update locator list interval for this pool.
|
|
A pool of connections.
A pool of connections from a Geode client to a set of Geode servers.
Int32 Apache::Geode::Client::Pool::PendingEventCount |
|
get |
Returns the approximate number of pending subscription events maintained at server for this durable client pool at the time it (re)connected to the server.
Server would start dispatching these events to this durable client pool when it receives Cache#readyForEvents()
from it.
Durable clients can call this method on reconnect to assess the amount of 'stale' data i.e. events accumulated at server while this client was away and, importantly, before calling Cache#readyForEvents()
.
Any number of invocations of this method during a single session will return the same value.
It may return a zero value if there are no events pending at server for this client pool. A negative value returned tells us that no queue was available at server for this client pool.
A value -1 indicates that this client pool reconnected to server after its 'durable-client-timeout' period elapsed and hence its subscription queue at server was removed, possibly causing data loss.
A value -2 indicates that this client pool connected to server for the first time.
- Returns
- int The number of subscription events maintained at server for this durable client pool at the time this pool (re)connected. A negative value indicates no queue was found for this client pool.
- Exceptions
-
- Since
- 8.1