GemStone::GemFire::Cache::Pool Class Reference

Detailed Description

A pool of connections.

A pool of connections from a GemFire client to a set of GemFire servers.

Public Member Functions

void Destroy ()
void Destroy (Boolean keepAlive)
GemStone::GemFire::Cache::QueryServiceGetQueryService ()


Boolean Destroyed [get]
Int32 FreeConnectionTimeout [get]
Int32 IdleTimeout [get]
Int32 LoadConditioningInterval [get]
array< String^ >^ Locators [get]
Int32 MaxConnections [get]
Int32 MinConnections [get]
bool MultiuserAuthentication [get]
String^  Name [get]
Int32 PingInterval [get]
Boolean PRSingleHopEnabled [get]
Int32 ReadTimeout [get]
Int32 RetryAttempts [get]
String^  ServerGroup [get]
array< String^ >^ Servers [get]
Int32 SocketBufferSize [get]
Int32 StatisticInterval [get]
Int32 SubscriptionAckInterval [get]
Boolean SubscriptionEnabled [get]
Int32 SubscriptionMessageTrackingTimeout [get]
Int32 SubscriptionRedundancy [get]
Boolean ThreadLocalConnections [get]

Member Function Documentation

void GemStone::GemFire::Cache::Pool::Destroy (  ) 

Destroys this pool closing any connections it produced.

IllegalStateException if the pool is still in use

void GemStone::GemFire::Cache::Pool::Destroy ( Boolean  keepAlive  ) 

Destroys this pool closing any connections it produced.

keepAlive whether the server should keep the durable client's subscriptions alive for the timeout period
IllegalStateException if the pool is still in use

GemStone::GemFire::Cache::QueryService ^ GemStone::GemFire::Cache::Pool::GetQueryService (  ) 

Returns the QueryService for this Pool.

The query operations performed using this QueryService will be executed on the servers that are associated with this pool. To perform Query operation on the local cache obtain the QueryService instance from the Cache.

Property Documentation

Boolean GemStone::GemFire::Cache::Pool::Destroyed [get]

Indicates whether this Pool has been destroyed.

Int32 GemStone::GemFire::Cache::Pool::FreeConnectionTimeout [get]

Returns the connection timeout of this pool.

Int32 GemStone::GemFire::Cache::Pool::IdleTimeout [get]

Get the Idle connection timeout for this pool.

Int32 GemStone::GemFire::Cache::Pool::LoadConditioningInterval [get]

Returns the load conditioning interval of this pool.

array< String^>^ GemStone::GemFire::Cache::Pool::Locators [get]

Returns an unmodifiable list of locators this pool is using. Each locator is either one added explicitly when the pool was created or were discovered using the explicit locators.

If a pool has no locators then it can not discover servers or locators at runtime.

Int32 GemStone::GemFire::Cache::Pool::MaxConnections [get]

Get the maximum connections for this pool.

Int32 GemStone::GemFire::Cache::Pool::MinConnections [get]

Get the minimum connections for this pool.

bool GemStone::GemFire::Cache::Pool::MultiuserAuthentication [get]

Returns true if multiuser authentication is enabled on this pool.

String^ GemStone::GemFire::Cache::Pool::Name [get]

Get the name of the pool

Int32 GemStone::GemFire::Cache::Pool::PingInterval [get]

Get the ping interval for this pool.

Boolean GemStone::GemFire::Cache::Pool::PRSingleHopEnabled [get]

Returns the true if a pr-single-hop is set to true on this pool.

Int32 GemStone::GemFire::Cache::Pool::ReadTimeout [get]

Returns the read timeout of this pool.

Int32 GemStone::GemFire::Cache::Pool::RetryAttempts [get]

Get the retry attempts for this pool.

String^ GemStone::GemFire::Cache::Pool::ServerGroup [get]

Returns the server group of this pool.

array< String^>^ GemStone::GemFire::Cache::Pool::Servers [get]

Returns an unmodifiable list of servers this pool is using. These servers were added explicitly when the pool was created.

Int32 GemStone::GemFire::Cache::Pool::SocketBufferSize [get]

Returns the socket buffer size of this pool.

Int32 GemStone::GemFire::Cache::Pool::StatisticInterval [get]

Get the statistic interval for this pool.

Int32 GemStone::GemFire::Cache::Pool::SubscriptionAckInterval [get]

Returns the subscription ack interval of this pool.

Boolean GemStone::GemFire::Cache::Pool::SubscriptionEnabled [get]

Returns the true if a server-to-client subscriptions are enabled on this pool.

Int32 GemStone::GemFire::Cache::Pool::SubscriptionMessageTrackingTimeout [get]

Returns the subscription message tracking timeout of this pool.

Int32 GemStone::GemFire::Cache::Pool::SubscriptionRedundancy [get]

Returns the subscription redundancy level of this pool.

Boolean GemStone::GemFire::Cache::Pool::ThreadLocalConnections [get]

Returns the true if ThreadLocalConnections are enabled on this pool.

GemFire C++ Cache .NET API Documentation