Share via


IClientConnectionManager.CloseIdleConnections(Int64, TimeUnit) Method

Definition

Closes idle connections in the pool.

[Android.Runtime.Register("closeIdleConnections", "(JLjava/util/concurrent/TimeUnit;)V", "GetCloseIdleConnections_JLjava_util_concurrent_TimeUnit_Handler:Org.Apache.Http.Conn.IClientConnectionManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void CloseIdleConnections (long idletime, Java.Util.Concurrent.TimeUnit? tunit);
[<Android.Runtime.Register("closeIdleConnections", "(JLjava/util/concurrent/TimeUnit;)V", "GetCloseIdleConnections_JLjava_util_concurrent_TimeUnit_Handler:Org.Apache.Http.Conn.IClientConnectionManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CloseIdleConnections : int64 * Java.Util.Concurrent.TimeUnit -> unit

Parameters

idletime
Int64

the idle time of connections to be closed

tunit
TimeUnit

the unit for the idletime

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.

Applies to

See also