ConnPoolByRoute.GetFreeEntry(RouteSpecificPool, Object) 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.
Allocates an available entry for a route, discarding entries whose validity has expired.
[Android.Runtime.Register("getFreeEntry", "(Lorg/apache/http/impl/conn/tsccm/RouteSpecificPool;Ljava/lang/Object;)Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;", "GetGetFreeEntry_Lorg_apache_http_impl_conn_tsccm_RouteSpecificPool_Ljava_lang_Object_Handler")]
protected virtual Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry? GetFreeEntry(Org.Apache.Http.Impl.Conn.Tsccm.RouteSpecificPool? rospl, Java.Lang.Object? state);
[<Android.Runtime.Register("getFreeEntry", "(Lorg/apache/http/impl/conn/tsccm/RouteSpecificPool;Ljava/lang/Object;)Lorg/apache/http/impl/conn/tsccm/BasicPoolEntry;", "GetGetFreeEntry_Lorg_apache_http_impl_conn_tsccm_RouteSpecificPool_Ljava_lang_Object_Handler")>]
abstract member GetFreeEntry : Org.Apache.Http.Impl.Conn.Tsccm.RouteSpecificPool * Java.Lang.Object -> Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry
override this.GetFreeEntry : Org.Apache.Http.Impl.Conn.Tsccm.RouteSpecificPool * Java.Lang.Object -> Org.Apache.Http.Impl.Conn.Tsccm.BasicPoolEntry
Parameters
- rospl
- RouteSpecificPool
The route-specific pool from which to allocate an entry.
- state
- Object
The preferred state to match; if no entry matches, another free entry can be reset and used.
Returns
A valid free entry, or null if none is available.
- 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.