PoolFactorySetPingInterval Method |
Set how often to ping servers to verify that they are still alive.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic PoolFactory SetPingInterval(
int pingInterval
)
Public Function SetPingInterval (
pingInterval As Integer
) As PoolFactory
public:
PoolFactory^ SetPingInterval(
int pingInterval
)
member SetPingInterval :
pingInterval : int -> PoolFactory
Parameters
- pingInterval
- Type: SystemInt32
Return Value
Type:
PoolFactory
ExceptionsException | Condition |
---|
|
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