标签:blog ar java sp div c log r new
public class TridentState { TridentTopology _topology; Node _node; protected TridentState(TridentTopology topology, Node node) { _topology = topology; _node = node; } public Stream newValuesStream() { return new Stream(_topology, _node.name, _node); } public TridentState parallelismHint(int parallelism) { _node.parallelismHint = parallelism; return this; } }
主要作用就是构建 TridentTopology 和node相关联的Stream
标签:blog ar java sp div c log r new
原文地址:http://www.cnblogs.com/chengxin1982/p/3999754.html