"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java-deprecated/org/apache/http/impl/conn/HttpPoolEntry.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.

HttpPoolEntry.java  (httpcomponents-client-4.5.6-src):HttpPoolEntry.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 55 skipping to change at line 55
class HttpPoolEntry extends PoolEntry<HttpRoute, OperatedClientConnection> { class HttpPoolEntry extends PoolEntry<HttpRoute, OperatedClientConnection> {
private final Log log; private final Log log;
private final RouteTracker tracker; private final RouteTracker tracker;
public HttpPoolEntry( public HttpPoolEntry(
final Log log, final Log log,
final String id, final String id,
final HttpRoute route, final HttpRoute route,
final OperatedClientConnection conn, final OperatedClientConnection conn,
final long timeToLive, final TimeUnit tunit) { final long timeToLive, final TimeUnit timeUnit) {
super(id, route, conn, timeToLive, tunit); super(id, route, conn, timeToLive, timeUnit);
this.log = log; this.log = log;
this.tracker = new RouteTracker(route); this.tracker = new RouteTracker(route);
} }
@Override @Override
public boolean isExpired(final long now) { public boolean isExpired(final long now) {
final boolean expired = super.isExpired(now); final boolean expired = super.isExpired(now);
if (expired && this.log.isDebugEnabled()) { if (expired && this.log.isDebugEnabled()) {
this.log.debug("Connection " + this + " expired @ " + new Date(getEx piry())); this.log.debug("Connection " + this + " expired @ " + new Date(getEx piry()));
} }
 End of changes. 1 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)