Uses of Class
org.apache.hc.core5.pool.PoolEntry
Packages that use PoolEntry
Package
Description
HTTP/1.1 requester and server bootstrap.
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 PoolEntryModifier and TypeFieldDescription(package private) final AtomicReference<PoolEntry<HttpHost, IOSession>> HttpAsyncRequester.InternalAsyncClientEndpoint.poolEntryRefprivate final AtomicReference<PoolEntry<HttpHost, HttpClientConnection>> HttpRequester.PoolEntryHolder.poolEntryRefConstructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type PoolEntryModifierConstructorDescription(package private)InternalAsyncClientEndpoint(PoolEntry<HttpHost, IOSession> poolEntry) (package private)PoolEntryHolder(PoolEntry<HttpHost, HttpClientConnection> poolEntry) -
Uses of PoolEntry in org.apache.hc.core5.pool
Subclasses with type arguments of type PoolEntry in org.apache.hc.core5.poolFields in org.apache.hc.core5.pool declared as PoolEntryFields in org.apache.hc.core5.pool with type parameters of type PoolEntryModifier and TypeFieldDescriptionprivate final Deque<AtomicMarkableReference<PoolEntry<T, C>>> LaxConnPool.PerRoutePool.available(package private) final ConcurrentLinkedDeque<PoolEntry<R, C>> RouteSegmentedConnPool.Segment.availableprivate final LinkedList<PoolEntry<T, C>> StrictConnPool.availableprivate final LinkedList<PoolEntry<T, C>> StrictConnPool.PerRoutePool.availableprivate final BasicFuture<PoolEntry<T, C>> LaxConnPool.LeaseRequest.futureprivate final BasicFuture<PoolEntry<T, C>> StrictConnPool.LeaseRequest.futureprivate final ConcurrentMap<PoolEntry<T, C>, Boolean> LaxConnPool.PerRoutePool.leasedStrictConnPool.leasedStrictConnPool.PerRoutePool.leasedMethods in org.apache.hc.core5.pool that return PoolEntryModifier and TypeMethodDescriptionStrictConnPool.PerRoutePool.createEntry(TimeValue timeToLive) LaxConnPool.PerRoutePool.createPoolEntry()LaxConnPool.PerRoutePool.getAvailableEntry(Object state) StrictConnPool.PerRoutePool.getLastUsed()StrictConnPool.LeaseRequest.getResult()RouteSegmentedConnPool.pollAvailable(RouteSegmentedConnPool<R, C>.Segment seg, Object neededState) Methods in org.apache.hc.core5.pool that return types with arguments of type PoolEntryModifier and TypeMethodDescription(package private) BasicFuture<PoolEntry<T, C>> LaxConnPool.LeaseRequest.getFuture()StrictConnPool.LeaseRequest.getFuture()ConnPool.lease(T route, 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.LaxConnPool.lease(T route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) LaxConnPool.PerRoutePool.lease(Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) RouteSegmentedConnPool.lease(R route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<R, C>> callback) StrictConnPool.lease(T route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) Methods in org.apache.hc.core5.pool with parameters of type PoolEntryModifier and TypeMethodDescriptionprivate voidbooleanvoidprivate voidRouteSegmentedConnPool.discardAndDecr(PoolEntry<R, C> p, CloseMode mode) private voidRouteSegmentedConnPool.discardEntry(PoolEntry<R, C> p, CloseMode preferred) Dispose a pool entry's connection asynchronously if possible; under pressure fall back to IMMEDIATE on caller.voidprivate booleanRouteSegmentedConnPool.handOffToCompatibleWaiter(PoolEntry<R, C> entry, RouteSegmentedConnPool<R, C>.Segment seg) private booleanprivate voidRouteSegmentedConnPool.offerAvailable(RouteSegmentedConnPool<R, C>.Segment seg, PoolEntry<R, C> p) voidReleases the pool entry back to the pool.voidvoidvoidvoidbooleanprivate voidLaxConnPool.PerRoutePool.removeLeased(PoolEntry<T, C> entry) Method parameters in org.apache.hc.core5.pool with type arguments of type PoolEntryModifier and TypeMethodDescriptionvoidLaxConnPool.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.ConnPool.lease(T route, 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.LaxConnPool.lease(T route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) LaxConnPool.PerRoutePool.lease(Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) RouteSegmentedConnPool.lease(R route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<R, C>> callback) StrictConnPool.lease(T route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) Constructor parameters in org.apache.hc.core5.pool with type arguments of type PoolEntryModifierConstructorDescription(package private)LeaseRequest(Object state, Timeout requestTimeout, BasicFuture<PoolEntry<T, C>> future) LeaseRequest(T route, Object state, Timeout requestTimeout, BasicFuture<PoolEntry<T, C>> future) Constructor