Click or drag to resize
PoolFactorySetPingInterval Method
Set how often to ping servers to verify that they are still alive.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public PoolFactory SetPingInterval(
	int pingInterval
)

Parameters

pingInterval
Type: SystemInt32

Return Value

Type: PoolFactory
Exceptions
ExceptionCondition
throws IllegalArgumentException if pingInterval is less than 0.
Remarks
Each server will be sent a ping every pingInterval if there has not been any other communication with the server. These pings are used by the server to monitor the health of the client. Make sure that the pingInterval is less than the maximum time between pings allowed by the bridge server. see in CacheServer: setMaximumTimeBetweenPings(int)
See Also