ConnPoolByRoute.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 a connection entry to its route-specific pool.
[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 override 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")>]
override this.FreeEntry : Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry * bool * int64 * Java.Util.Concurrent.TimeUnit -> unit
Parameters
- entry
- BasicPoolEntry
The entry to return to this pool.
- reusable
- Boolean
true if the 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.