hudson.remoting.Channel.createPipeWriter()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(124)

本文整理了Java中hudson.remoting.Channel.createPipeWriter()方法的一些代码示例,展示了Channel.createPipeWriter()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Channel.createPipeWriter()方法的具体详情如下:
包路径:hudson.remoting.Channel
类名称:Channel
方法名:createPipeWriter

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();

相关文章