CacheFactorySetPingInterval 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 CacheFactory SetPingInterval(
int pingInterval
)
Public Function SetPingInterval (
pingInterval As Integer
) As CacheFactory
public:
CacheFactory^ SetPingInterval(
int pingInterval
)
member SetPingInterval :
pingInterval : int -> CacheFactory
Parameters
- pingInterval
- Type: SystemInt32
Return Value
Type:
CacheFactory
a instance of
CacheFactory
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