"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java-deprecated/org/apache/http/impl/conn/tsccm/PoolEntryRequest.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

PoolEntryRequest.java  (httpcomponents-client-4.5.6-src):PoolEntryRequest.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 49 skipping to change at line 49
*/ */
@Deprecated @Deprecated
public interface PoolEntryRequest { public interface PoolEntryRequest {
/** /**
* Obtains a pool entry with a connection within the given timeout. * Obtains a pool entry with a connection within the given timeout.
* If {@link #abortRequest()} is called before this completes * If {@link #abortRequest()} is called before this completes
* an {@link InterruptedException} is thrown. * an {@link InterruptedException} is thrown.
* *
* @param timeout the timeout, 0 or negative for no timeout * @param timeout the timeout, 0 or negative for no timeout
* @param tunit the unit for the {@code timeout}, * @param timeUnit the unit for the {@code timeout},
* may be {@code null} only if there is no timeout * may be {@code null} only if there is no timeout
* *
* @return pool entry holding a connection for the route * @return pool entry holding a connection for the route
* *
* @throws ConnectionPoolTimeoutException * @throws ConnectionPoolTimeoutException
* if the timeout expired * if the timeout expired
* @throws InterruptedException * @throws InterruptedException
* if the calling thread was interrupted or the request was aborted * if the calling thread was interrupted or the request was aborted
*/ */
BasicPoolEntry getPoolEntry( BasicPoolEntry getPoolEntry(
long timeout, long timeout,
TimeUnit tunit) throws InterruptedException, ConnectionPoolTimeoutEx ception; TimeUnit timeUnit) throws InterruptedException, ConnectionPoolTimeou tException;
/** /**
* Aborts the active or next call to * Aborts the active or next call to
* {@link #getPoolEntry(long, TimeUnit)}. * {@link #getPoolEntry(long, TimeUnit)}.
*/ */
void abortRequest(); void abortRequest();
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)