Skip to content

Commit

Permalink
minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
slandelle committed Mar 28, 2017
1 parent 1e104ac commit 9aec4b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Expand Up @@ -263,7 +263,7 @@ public ClientStats getClientStats() {

@Override
public void flushChannelPoolPartitions(Predicate<Object> predicate) {
channelManager.flushChannelPoolPartitions(predicate);
getChannelPool().flushPartitions(predicate);
}

protected BoundRequestBuilder requestBuilder(String method, String url) {
Expand Down
Expand Up @@ -49,7 +49,6 @@
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.TimeUnit;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.stream.Collectors;

import javax.net.ssl.SSLEngine;
Expand Down Expand Up @@ -522,8 +521,4 @@ public ClientStats getClientStats() {
));
return new ClientStats(statsPerHost);
}

public void flushChannelPoolPartitions(Predicate<Object> predicate) {
channelPool.flushPartitions(predicate);
}
}

0 comments on commit 9aec4b5

Please sign in to comment.