"Fossies" - the Fresh Open Source Software Archive  

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

IdleConnectionEvictor.java  (httpcomponents-client-4.5.6-src):IdleConnectionEvictor.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 107 skipping to change at line 107
} }
public void shutdown() { public void shutdown() {
thread.interrupt(); thread.interrupt();
} }
public boolean isRunning() { public boolean isRunning() {
return thread.isAlive(); return thread.isAlive();
} }
public void awaitTermination(final long time, final TimeUnit tunit) throws I public void awaitTermination(final long time, final TimeUnit timeUnit) throw
nterruptedException { s InterruptedException {
thread.join((tunit != null ? tunit : TimeUnit.MILLISECONDS).toMillis(tim thread.join((timeUnit != null ? timeUnit : TimeUnit.MILLISECONDS).toMill
e)); is(time));
} }
static class DefaultThreadFactory implements ThreadFactory { static class DefaultThreadFactory implements ThreadFactory {
@Override @Override
public Thread newThread(final Runnable r) { public Thread newThread(final Runnable r) {
final Thread t = new Thread(r, "Connection evictor"); final Thread t = new Thread(r, "Connection evictor");
t.setDaemon(true); t.setDaemon(true);
return t; return t;
} }
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 lines changed or added

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