ThreadSafeClientConnManager.ReleaseConnection Method

Definition

Releases a managed connection to the pool.

[Android.Runtime.Register("releaseConnection", "(Lorg/apache/http/conn/ManagedClientConnection;JLjava/util/concurrent/TimeUnit;)V", "GetReleaseConnection_Lorg_apache_http_conn_ManagedClientConnection_JLjava_util_concurrent_TimeUnit_Handler")]
public virtual void ReleaseConnection(Org.Apache.Http.Conn.IManagedClientConnection? conn, long validDuration, Java.Util.Concurrent.TimeUnit? timeUnit);
[<Android.Runtime.Register("releaseConnection", "(Lorg/apache/http/conn/ManagedClientConnection;JLjava/util/concurrent/TimeUnit;)V", "GetReleaseConnection_Lorg_apache_http_conn_ManagedClientConnection_JLjava_util_concurrent_TimeUnit_Handler")>]
abstract member ReleaseConnection : Org.Apache.Http.Conn.IManagedClientConnection * int64 * Java.Util.Concurrent.TimeUnit -> unit
override this.ReleaseConnection : Org.Apache.Http.Conn.IManagedClientConnection * int64 * Java.Util.Concurrent.TimeUnit -> unit

Parameters

conn
IManagedClientConnection

The managed connection to release.

validDuration
Int64

The period a reusable connection remains valid after release.

timeUnit
TimeUnit

The unit for validDuration.

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.

Applies to