示例#1
0
        public VertexOutputBuffer(Vertex shard)
        {
            this.shard        = shard;
            this.SendChannels = new Dataflow.Channels.SendWire <TRecord, TTime>[] { };
            this.Buffer       = new Message <Pair <TRecord, TTime> >();
            this.Buffer.Enable();
            shard.AddOnFlushAction(() => this.Flush());

            this.SpareBuffers = new Queue <Message <Pair <TRecord, TTime> > >();
        }