connectionIdlePollingInterval
The interval in which to poll idle connections for remote closure or null
to disable monitoring of idle connections. The default value is null
.
When this value is non-null
, polling is enabled on connections which are released from an engine call and enter the connection pool. Polling consists of a loop that performs blocking reads with the socket timeout set to connectionIdlePollingInterval. Polling is cancelled for a connection when the engine acquires it from the pool or when the connection is evicted from the pool and closed. Because the polling loop uses blocking reads, an engine call to acquire or close a connection may be delayed by as much as connectionIdlePollingInterval.
When this value is null
, polling is disabled. Idle connections in the pool which are closed remotely may encounter errors when they are acquired for a subsequent call.