Language

ConnPoolByRoute.NewWaitingThread(ICondition, RouteSpecificPool) Method

Definition

Creates a record that associates a waiting condition with a route-specific pool.

[Android.Runtime.Register("newWaitingThread", "(Ljava/util/concurrent/locks/Condition;Lorg/apache/http/impl/conn/tsccm/RouteSpecificPool;)Lorg/apache/http/impl/conn/tsccm/WaitingThread;", "GetNewWaitingThread_Ljava_util_concurrent_locks_Condition_Lorg_apache_http_impl_conn_tsccm_RouteSpecificPool_Handler")]
protected virtual Org.Apache.Http.Impl.Conn.Tsccm.WaitingThread? NewWaitingThread(Java.Util.Concurrent.Locks.ICondition? cond, Org.Apache.Http.Impl.Conn.Tsccm.RouteSpecificPool? rospl);
[<Android.Runtime.Register("newWaitingThread", "(Ljava/util/concurrent/locks/Condition;Lorg/apache/http/impl/conn/tsccm/RouteSpecificPool;)Lorg/apache/http/impl/conn/tsccm/WaitingThread;", "GetNewWaitingThread_Ljava_util_concurrent_locks_Condition_Lorg_apache_http_impl_conn_tsccm_RouteSpecificPool_Handler")>]
abstract member NewWaitingThread : Java.Util.Concurrent.Locks.ICondition * Org.Apache.Http.Impl.Conn.Tsccm.RouteSpecificPool -> Org.Apache.Http.Impl.Conn.Tsccm.WaitingThread
override this.NewWaitingThread : Java.Util.Concurrent.Locks.ICondition * Org.Apache.Http.Impl.Conn.Tsccm.RouteSpecificPool -> Org.Apache.Http.Impl.Conn.Tsccm.WaitingThread

Parameters

cond
ICondition

The condition on which the requesting thread will wait.

rospl
RouteSpecificPool

The associated route-specific pool, or null.

Returns

A new waiting-thread record for the supplied condition and pool.

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