Uses of Class
org.apache.hc.core5.pool.PoolEntry
-
Packages that use PoolEntry Package Description org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.org.apache.hc.core5.pool Client side connection pool component APIs. -
-
Uses of PoolEntry in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type PoolEntry Modifier and Type Field Description (package private) java.util.concurrent.atomic.AtomicReference<PoolEntry<HttpHost,IOSession>>HttpAsyncRequester.InternalAsyncClientEndpoint. poolEntryRefprivate java.util.concurrent.atomic.AtomicReference<PoolEntry<HttpHost,HttpClientConnection>>HttpRequester.PoolEntryHolder. poolEntryRefConstructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type PoolEntry Constructor Description InternalAsyncClientEndpoint(PoolEntry<HttpHost,IOSession> poolEntry)PoolEntryHolder(PoolEntry<HttpHost,HttpClientConnection> poolEntry) -
Uses of PoolEntry in org.apache.hc.core5.pool
Fields in org.apache.hc.core5.pool declared as PoolEntry Modifier and Type Field Description private PoolEntry<T,C>StrictConnPool.LeaseRequest. resultFields in org.apache.hc.core5.pool with type parameters of type PoolEntry Modifier and Type Field Description private java.util.Deque<java.util.concurrent.atomic.AtomicMarkableReference<PoolEntry<T,C>>>LaxConnPool.PerRoutePool. availableprivate java.util.LinkedList<PoolEntry<T,C>>StrictConnPool. availableprivate java.util.LinkedList<PoolEntry<T,C>>StrictConnPool.PerRoutePool. availableprivate BasicFuture<PoolEntry<T,C>>LaxConnPool.LeaseRequest. futureprivate BasicFuture<PoolEntry<T,C>>StrictConnPool.LeaseRequest. futureprivate java.util.concurrent.ConcurrentMap<PoolEntry<T,C>,java.lang.Boolean>LaxConnPool.PerRoutePool. leasedprivate java.util.Set<PoolEntry<T,C>>StrictConnPool. leasedprivate java.util.Set<PoolEntry<T,C>>StrictConnPool.PerRoutePool. leasedMethods in org.apache.hc.core5.pool that return PoolEntry Modifier and Type Method Description PoolEntry<T,C>StrictConnPool.PerRoutePool. createEntry(TimeValue timeToLive)private PoolEntry<T,C>LaxConnPool.PerRoutePool. createPoolEntry()private PoolEntry<T,C>LaxConnPool.PerRoutePool. getAvailableEntry(java.lang.Object state)PoolEntry<T,C>StrictConnPool.PerRoutePool. getFree(java.lang.Object state)PoolEntry<T,C>StrictConnPool.PerRoutePool. getLastUsed()PoolEntry<T,C>StrictConnPool.LeaseRequest. getResult()Methods in org.apache.hc.core5.pool that return types with arguments of type PoolEntry Modifier and Type Method Description (package private) BasicFuture<PoolEntry<T,C>>LaxConnPool.LeaseRequest. getFuture()BasicFuture<PoolEntry<T,C>>StrictConnPool.LeaseRequest. getFuture()java.util.concurrent.Future<PoolEntry<T,C>>ConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)Attempts to lease a connection for the given route and with the given state from the pool.java.util.concurrent.Future<PoolEntry<T,C>>LaxConnPool. lease(T route, java.lang.Object state)java.util.concurrent.Future<PoolEntry<T,C>>LaxConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)java.util.concurrent.Future<PoolEntry<T,C>>LaxConnPool.PerRoutePool. lease(java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)java.util.concurrent.Future<PoolEntry<T,C>>StrictConnPool. lease(T route, java.lang.Object state)java.util.concurrent.Future<PoolEntry<T,C>>StrictConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)Methods in org.apache.hc.core5.pool with parameters of type PoolEntry Modifier and Type Method Description private voidLaxConnPool.PerRoutePool. addLeased(PoolEntry<T,C> entry)booleanLaxConnPool.LeaseRequest. completed(PoolEntry<T,C> result)voidStrictConnPool.LeaseRequest. completed(PoolEntry<T,C> result)voidStrictConnPool.PerRoutePool. free(PoolEntry<T,C> entry, boolean reusable)voidConnPool. release(PoolEntry<T,C> entry, boolean reusable)Releases the pool entry back to the pool.voidLaxConnPool.PerRoutePool. release(PoolEntry<T,C> releasedEntry, boolean reusable)voidLaxConnPool. release(PoolEntry<T,C> entry, boolean reusable)voidStrictConnPool. release(PoolEntry<T,C> entry, boolean reusable)booleanStrictConnPool.PerRoutePool. remove(PoolEntry<T,C> entry)private voidLaxConnPool.PerRoutePool. removeLeased(PoolEntry<T,C> entry)Method parameters in org.apache.hc.core5.pool with type arguments of type PoolEntry Modifier and Type Method Description voidLaxConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback)voidLaxConnPool.PerRoutePool. enumAvailable(Callback<PoolEntry<T,C>> callback)voidStrictConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback)Enumerates all available connections.voidLaxConnPool. enumLeased(Callback<PoolEntry<T,C>> callback)voidLaxConnPool.PerRoutePool. enumLeased(Callback<PoolEntry<T,C>> callback)voidStrictConnPool. enumLeased(Callback<PoolEntry<T,C>> callback)Enumerates all leased connections.java.util.concurrent.Future<PoolEntry<T,C>>ConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)Attempts to lease a connection for the given route and with the given state from the pool.java.util.concurrent.Future<PoolEntry<T,C>>LaxConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)java.util.concurrent.Future<PoolEntry<T,C>>LaxConnPool.PerRoutePool. lease(java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)java.util.concurrent.Future<PoolEntry<T,C>>StrictConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)Constructor parameters in org.apache.hc.core5.pool with type arguments of type PoolEntry Constructor Description LeaseRequest(java.lang.Object state, Timeout requestTimeout, BasicFuture<PoolEntry<T,C>> future)LeaseRequest(T route, java.lang.Object state, Timeout requestTimeout, BasicFuture<PoolEntry<T,C>> future)Constructor
-