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: 3.6.2.0

Syntax

C#
public PoolFactory SetPingInterval(
	int pingInterval
)
Visual Basic (Declaration)
Public Function SetPingInterval ( _
	pingInterval As Integer _
) As PoolFactory
Visual C++
public:
PoolFactory^ SetPingInterval (
	int pingInterval
)

Parameters

pingInterval
Int32

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)

Exceptions

ExceptionCondition
throws IllegalArgumentException if pingInterval is less than 0.

See Also