Example usage for Java org.apache.http.impl.conn.tsccm RouteSpecificPool fields, constructors, methods, implement or subclass
The text is from its open source code.
RouteSpecificPool(final HttpRoute route, final int maxEntries) | |
RouteSpecificPool(final HttpRoute route, final ConnPerRoute connPerRoute) Creates a new route-specific pool. |
BasicPoolEntry | allocEntry(final Object state) Obtains a free entry from this pool, if one is available. |
void | createdEntry(final BasicPoolEntry entry) Indicates creation of an entry for this pool. |
boolean | deleteEntry(final BasicPoolEntry entry) Deletes an entry from this pool. |
void | dropEntry() Forgets about an entry from this pool. |
void | freeEntry(final BasicPoolEntry entry) Returns an allocated entry to this pool. |
int | getCapacity() Return remaining capacity of this pool |
int | getEntryCount() Obtains the number of entries. |
int | getMaxEntries() Obtains the maximum number of entries allowed for this pool. |
HttpRoute | getRoute() Obtains the route for which this pool is specific. |
boolean | hasThread() Checks whether there is a waiting thread in this pool. |
boolean | isUnused() Indicates whether this pool is unused. |
WaitingThread | nextThread() Returns the next thread in the queue. |
void | queueThread(final WaitingThread wt) Adds a waiting thread. |
void | removeThread(final WaitingThread wt) Removes a waiting thread, if it is queued. |