ConnPoolByRoute.GetEntryBlocking 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.
Obtains an entry for a route, waiting for capacity when necessary.
[Android.Runtime.Register("getEntryBlocking", "(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Lorg/apache/http/impl/conn/tsccm/WaitingThreadAborter;)Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;", "GetGetEntryBlocking_Lorg_apache_http_conn_routing_HttpRoute_Ljava_lang_Object_JLjava_util_concurrent_TimeUnit_Lorg_apache_http_impl_conn_tsccm_WaitingThreadAborter_Handler")]
protected virtual Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry? GetEntryBlocking(Org.Apache.Http.Conn.Routing.HttpRoute? route, Java.Lang.Object? state, long timeout, Java.Util.Concurrent.TimeUnit? tunit, Org.Apache.Http.Impl.Conn.Tsccm.WaitingThreadAborter? aborter);
[<Android.Runtime.Register("getEntryBlocking", "(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Lorg/apache/http/impl/conn/tsccm/WaitingThreadAborter;)Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;", "GetGetEntryBlocking_Lorg_apache_http_conn_routing_HttpRoute_Ljava_lang_Object_JLjava_util_concurrent_TimeUnit_Lorg_apache_http_impl_conn_tsccm_WaitingThreadAborter_Handler")>]
abstract member GetEntryBlocking : Org.Apache.Http.Conn.Routing.HttpRoute * Java.Lang.Object * int64 * Java.Util.Concurrent.TimeUnit * Org.Apache.Http.Impl.Conn.Tsccm.WaitingThreadAborter -> Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry
override this.GetEntryBlocking : Org.Apache.Http.Conn.Routing.HttpRoute * Java.Lang.Object * int64 * Java.Util.Concurrent.TimeUnit * Org.Apache.Http.Impl.Conn.Tsccm.WaitingThreadAborter -> Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry
Parameters
- route
- HttpRoute
The HTTP route for the requested connection.
- state
- Object
The preferred connection state when selecting a free entry.
- timeout
- Int64
The wait duration; zero or a negative value means no time limit.
- tunit
- TimeUnit
The unit for a positive timeout; it can be null when there is no time limit.
- aborter
- WaitingThreadAborter
The object connected to the waiting-thread record so the wait can be aborted.
Returns
An entry issued 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.