167168169170171172173174175176177
public Object run() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(1 * 1000); tp.setPoolSize(5); tp.setPoolName("Server TP"); tp.doStart(); ClockPool cp = new ClockPool(); cp.setPoolName("Server CP"); cp.doStart();
175176177178179180181182183184185
public Object run() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(1 * 1000); tp.setPoolSize(1); tp.setPoolName("Server TP"); tp.doStart(); ClockPool cp = new ClockPool(); cp.setPoolName("Server CP"); cp.doStart();
4041424344454647484950
public void test() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(100); tp.setPoolSize(5); tp.setPoolName("TP"); tp.doStart(); SelectorManager sm = new SelectorManager(); sm.setThreadPool(tp); sm.setThreadName("SM"); sm.doStart();
8384858687888990919293
public void testClone() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(100); tp.setPoolSize(5); tp.setPoolName("TP"); tp.doStart(); SelectorManager sm = new SelectorManager(); sm.setThreadPool(tp); sm.setThreadName("SM"); sm.doStart();
4445464748495051525354
public void test() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(1 * 1000); tp.setPoolSize(5); tp.setPoolName("TP"); tp.doStart(); ClockPool cp = new ClockPool(); cp.setPoolName("CP"); cp.doStart();
96979899100101102103104105106
public Object run() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(1 * 1000); tp.setPoolSize(1); tp.setPoolName("Client TP"); tp.doStart(); ClockPool cp = new ClockPool(); cp.setPoolName("Client CP"); cp.doStart();
8687888990919293949596
public Object run() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(1 * 1000); tp.setPoolSize(5); tp.setPoolName("Client TP"); tp.doStart(); ClockPool cp = new ClockPool(); cp.setPoolName("Client CP"); cp.doStart();
5253545556575859606162
public void test() throws Exception { ThreadPool tp = new ThreadPool(); tp.setKeepAliveTime(100 * 1000); tp.setPoolSize(5); tp.setPoolName("TP"); tp.doStart(); ClockPool cp = new ClockPool(); cp.setPoolName("CP"); cp.doStart();