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. poolEntryRef
private java.util.concurrent.atomic.AtomicReference<PoolEntry<HttpHost,HttpClientConnection>>
HttpRequester.PoolEntryHolder. poolEntryRef
Constructors 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. result
Fields 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. available
private java.util.LinkedList<PoolEntry<T,C>>
StrictConnPool. available
private java.util.LinkedList<PoolEntry<T,C>>
StrictConnPool.PerRoutePool. available
private BasicFuture<PoolEntry<T,C>>
LaxConnPool.LeaseRequest. future
private BasicFuture<PoolEntry<T,C>>
StrictConnPool.LeaseRequest. future
private java.util.concurrent.ConcurrentMap<PoolEntry<T,C>,java.lang.Boolean>
LaxConnPool.PerRoutePool. leased
private java.util.Set<PoolEntry<T,C>>
StrictConnPool. leased
private java.util.Set<PoolEntry<T,C>>
StrictConnPool.PerRoutePool. leased
Methods 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 void
LaxConnPool.PerRoutePool. addLeased(PoolEntry<T,C> entry)
boolean
LaxConnPool.LeaseRequest. completed(PoolEntry<T,C> result)
void
StrictConnPool.LeaseRequest. completed(PoolEntry<T,C> result)
void
StrictConnPool.PerRoutePool. free(PoolEntry<T,C> entry, boolean reusable)
void
ConnPool. release(PoolEntry<T,C> entry, boolean reusable)
Releases the pool entry back to the pool.void
LaxConnPool.PerRoutePool. release(PoolEntry<T,C> releasedEntry, boolean reusable)
void
LaxConnPool. release(PoolEntry<T,C> entry, boolean reusable)
void
StrictConnPool. release(PoolEntry<T,C> entry, boolean reusable)
boolean
StrictConnPool.PerRoutePool. remove(PoolEntry<T,C> entry)
private void
LaxConnPool.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 void
LaxConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback)
void
LaxConnPool.PerRoutePool. enumAvailable(Callback<PoolEntry<T,C>> callback)
void
StrictConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback)
Enumerates all available connections.void
LaxConnPool. enumLeased(Callback<PoolEntry<T,C>> callback)
void
LaxConnPool.PerRoutePool. enumLeased(Callback<PoolEntry<T,C>> callback)
void
StrictConnPool. 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
-