AbstractConnPool.FreeEntry(BasicPoolEntry, Boolean, 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.
Returns an entry to the pool without evaluating whether its connection is reusable.
[Android.Runtime.Register("freeEntry", "(Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;ZJLjava/util/concurrent/TimeUnit;)V", "GetFreeEntry_Lorg_apache_http_impl_conn_tsccm_BasicPoolEntry_ZJLjava_util_concurrent_TimeUnit_Handler")]
public abstract void FreeEntry(Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry? entry, bool reusable, long validDuration, Java.Util.Concurrent.TimeUnit? timeUnit);
[<Android.Runtime.Register("freeEntry", "(Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;ZJLjava/util/concurrent/TimeUnit;)V", "GetFreeEntry_Lorg_apache_http_impl_conn_tsccm_BasicPoolEntry_ZJLjava_util_concurrent_TimeUnit_Handler")>]
abstract member FreeEntry : Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry * bool * int64 * Java.Util.Concurrent.TimeUnit -> unit
Parameters
- entry
- BasicPoolEntry
The entry to return to the pool.
- reusable
- Boolean
true if the entry's connection can be reused; otherwise, false.
- validDuration
- Int64
The duration that a reusable entry remains valid while free.
- timeUnit
- TimeUnit
The unit for validDuration.
- 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.