public MemoryStageController(Long pipelineId){
super(pipelineId);
replys = OtterMigrateMap.makeComputingMap(new Function<StageType, ReplyProcessQueue>() {
public ReplyProcessQueue apply(StageType input) {
int size = ArbitrateConfigUtils.getParallelism(getPipelineId()) * 10;
if (size < 100) {
size = 100;
}
return new ReplyProcessQueue(size);
}
});
progress = new MapMaker().makeMap();
termins = new LinkedBlockingQueue<TerminEventData>(20);
}
MemoryStageController.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:otter
作者:
评论列表
文章目录