public class TcpUdpSshPingResourceStore extends Object
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.channel.ChannelFactory |
getChannelFactory() |
org.jboss.netty.channel.socket.DatagramChannelFactory |
getDatagramChannelFactory() |
static TcpUdpSshPingResourceStore |
getInstance() |
ExecutorService |
getThreadPoolForSshPing() |
org.jboss.netty.util.HashedWheelTimer |
getTimer() |
void |
init()
Initialize; cached threadpool is safe as it is releasing resources automatically if idle
|
void |
reinit()
close and clean up the http client, then create the new ones.
|
void |
setChannelFactory(org.jboss.netty.channel.ChannelFactory channelFactory) |
void |
setDatagramChannelFactory(org.jboss.netty.channel.socket.DatagramChannelFactory datagramChannelFactory) |
void |
setThreadPoolForSshPing(ExecutorService threadPoolForSshPing) |
void |
setTimer(org.jboss.netty.util.HashedWheelTimer timer) |
void |
shutdown() |
public static TcpUdpSshPingResourceStore getInstance()
public void shutdown()
public void init()
public void reinit()
public org.jboss.netty.channel.ChannelFactory getChannelFactory()
public void setChannelFactory(org.jboss.netty.channel.ChannelFactory channelFactory)
public org.jboss.netty.util.HashedWheelTimer getTimer()
public void setTimer(org.jboss.netty.util.HashedWheelTimer timer)
public ExecutorService getThreadPoolForSshPing()
public void setThreadPoolForSshPing(ExecutorService threadPoolForSshPing)
public org.jboss.netty.channel.socket.DatagramChannelFactory getDatagramChannelFactory()
public void setDatagramChannelFactory(org.jboss.netty.channel.socket.DatagramChannelFactory datagramChannelFactory)
Copyright © 2015–2016 eBay. All rights reserved.