ThreadSafeClientConnManager.CloseIdleConnections(Int64, TimeUnit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes connections that have been idle for at least the specified duration.
[Android.Runtime.Register("closeIdleConnections", "(JLjava/util/concurrent/TimeUnit;)V", "GetCloseIdleConnections_JLjava_util_concurrent_TimeUnit_Handler")]
public virtual void CloseIdleConnections(long idleTimeout, Java.Util.Concurrent.TimeUnit? tunit);
[<Android.Runtime.Register("closeIdleConnections", "(JLjava/util/concurrent/TimeUnit;)V", "GetCloseIdleConnections_JLjava_util_concurrent_TimeUnit_Handler")>]
abstract member CloseIdleConnections : int64 * Java.Util.Concurrent.TimeUnit -> unit
override this.CloseIdleConnections : int64 * Java.Util.Concurrent.TimeUnit -> unit
Parameters
- idleTimeout
- Int64
The minimum idle duration for connections to close.
- tunit
- TimeUnit
The unit for idleTimeout.
Implements
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.