Class StrictConnPool.PerRoutePool<T, C extends ModalCloseable>
java.lang.Object
org.apache.hc.core5.pool.StrictConnPool.PerRoutePool<T,C>
- Enclosing class:
StrictConnPool<T, C extends ModalCloseable>
- Since:
- 4.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LinkedList<PoolEntry<T, C>> private final DisposalCallback<C> private final T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEntry(TimeValue timeToLive) voidintintintfinal TgetRoute()booleanvoidtoString()
-
Field Details
-
route
-
leased
-
available
-
disposalCallback
-
-
Constructor Details
-
PerRoutePool
PerRoutePool(T route, DisposalCallback<C> disposalCallback)
-
-
Method Details
-
getRoute
-
getLeasedCount
public int getLeasedCount() -
getAvailableCount
public int getAvailableCount() -
getAllocatedCount
public int getAllocatedCount() -
getFree
-
getLastUsed
-
remove
-
free
-
createEntry
-
shutdown
-
toString
-