public class ClientChannelSharedSelector extends Object implements ClientChannelSelector
| Constructor and Description |
|---|
ClientChannelSharedSelector() |
ClientChannelSharedSelector(LoggerFactory loggerFactory) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface ClientChannelSelectorChannelExceptionpublic void returnChannel(ClientChannel channel)
returnChannel in interface ClientChannelSelectorprotected ClientChannel connect(LoggerFactory loggerFactory, URI uri, int timeout) throws ChannelException
ChannelExceptionCopyright © 2021. All rights reserved.