public class ClientChannelSharedSelector extends Object implements ClientChannelSelector
| 构造器和说明 |
|---|
ClientChannelSharedSelector() |
ClientChannelSharedSelector(LoggerFactory loggerFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ClientChannel |
connect(LoggerFactory loggerFactory,
URI uri,
int timeout) |
ClientChannel |
getChannel(URI uri) |
void |
returnChannel(ClientChannel channel) |
void |
setHeartbeat(int interval) |
public ClientChannelSharedSelector()
public ClientChannelSharedSelector(LoggerFactory loggerFactory)
public void setHeartbeat(int interval)
public ClientChannel getChannel(URI uri) throws ChannelException
getChannel 在接口中 ClientChannelSelectorChannelExceptionpublic void returnChannel(ClientChannel channel)
returnChannel 在接口中 ClientChannelSelectorprotected ClientChannel connect(LoggerFactory loggerFactory, URI uri, int timeout) throws ChannelException
ChannelExceptionCopyright © 2020. All rights reserved.