public class ClientChannelPooledSelector extends Object implements ClientChannelSelector
| 限定符和类型 | 类和说明 |
|---|---|
class |
ClientChannelPooledSelector.ChannelPool |
| 构造器和说明 |
|---|
ClientChannelPooledSelector() |
ClientChannelPooledSelector(LoggerFactory loggerFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ClientChannelSelectorChannelExceptionpublic void returnChannel(ClientChannel channel)
returnChannel 在接口中 ClientChannelSelectorprotected ClientChannelPooledSelector.ChannelPool createChannelPool(LoggerFactory loggerFactory, URI uri, int timeout)
Copyright © 2020. All rights reserved.