public class NettyAsyncHttpProvider extends Object implements AsyncHttpProvider
Constructor and Description |
---|
NettyAsyncHttpProvider(AsyncHttpClientConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T> ListenableFuture<T> |
execute(Request request,
AsyncHandler<T> asyncHandler) |
void |
flushChannelPoolPartition(String partitionId) |
void |
flushChannelPoolPartitions(ChannelPoolPartitionSelector selector) |
public NettyAsyncHttpProvider(AsyncHttpClientConfig config)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface AsyncHttpProvider
public <T> ListenableFuture<T> execute(Request request, AsyncHandler<T> asyncHandler)
execute
in interface AsyncHttpProvider
public void flushChannelPoolPartition(String partitionId)
public void flushChannelPoolPartitions(ChannelPoolPartitionSelector selector)
Copyright © 2015. All Rights Reserved.