public class ClientChannelPooledSelector extends Object implements ClientChannelSelector
| Modifier and Type | Class and Description |
|---|---|
class |
ClientChannelPooledSelector.ChannelPool |
| Constructor and Description |
|---|
ClientChannelPooledSelector() |
ClientChannelPooledSelector(LoggerFactory loggerFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected ClientChannelPooledSelector.ChannelPool |
createChannelPool(LoggerFactory loggerFactory,
URI uri,
int timeout) |
ClientChannel |
getChannel(URI uri) |
void |
returnChannel(ClientChannel channel) |
public ClientChannelPooledSelector()
public ClientChannelPooledSelector(LoggerFactory loggerFactory)
public ClientChannel getChannel(URI uri) throws ChannelException
getChannel in interface ClientChannelSelectorChannelExceptionpublic void returnChannel(ClientChannel channel)
returnChannel in interface ClientChannelSelectorprotected ClientChannelPooledSelector.ChannelPool createChannelPool(LoggerFactory loggerFactory, URI uri, int timeout)
Copyright © 2021. All rights reserved.