本文整理了Java中hudson.remoting.Channel.createPipeWriter()
方法的一些代码示例,展示了Channel.createPipeWriter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Channel.createPipeWriter()
方法的具体详情如下:
包路径:hudson.remoting.Channel
类名称:Channel
方法名:createPipeWriter
[英]Creates the ExecutorService for writing to pipes.
If the throttling is supported, use a separate thread to free up the main channel reader thread (thus prevent blockage.) Otherwise let the channel reader thread do it, which is the historical behaviour.
[中]创建用于写入管道的ExecutorService。
如果支持节流,则使用单独的螺纹释放主通道读卡器螺纹(从而防止堵塞)否则,让通道读取器线程执行,这是历史行为。
代码示例来源:origin: org.eclipse.hudson/hudson-remoting
this.pipeWriter = createPipeWriter();
this.ois = new ObjectInputStream(mode.wrap(is));
new ReaderThread(name).start();
代码示例来源:origin: hudson/hudson-2.x
this.pipeWriter = createPipeWriter();
this.ois = new ObjectInputStream(mode.wrap(is));
new ReaderThread(name).start();
代码示例来源:origin: org.eclipse.hudson.main/hudson-remoting
this.pipeWriter = createPipeWriter();
this.ois = new ObjectInputStream(mode.wrap(is));
new ReaderThread(name).start();
内容来源于网络,如有侵权,请联系作者删除!