IPoolEntryRequest.GetPoolEntry(Int64, TimeUnit) Method

Definition

Acquires a pool entry within the specified timeout.

[Android.Runtime.Register("getPoolEntry", "(JLjava/util/concurrent/TimeUnit;)Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;", "GetGetPoolEntry_JLjava_util_concurrent_TimeUnit_Handler:Org.Apache.Http.Impl.Conn.Tsccm.IPoolEntryRequestInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry? GetPoolEntry(long timeout, Java.Util.Concurrent.TimeUnit? tunit);
[<Android.Runtime.Register("getPoolEntry", "(JLjava/util/concurrent/TimeUnit;)Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;", "GetGetPoolEntry_JLjava_util_concurrent_TimeUnit_Handler:Org.Apache.Http.Impl.Conn.Tsccm.IPoolEntryRequestInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetPoolEntry : int64 * Java.Util.Concurrent.TimeUnit -> Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry

Parameters

timeout
Int64

The maximum time to wait; zero or a negative value means no timeout.

tunit
TimeUnit

The unit for timeout; required when a timeout is specified.

Returns

A pool entry holding a connection for the requested route.

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