/// <summary> /// Constructions a new buffer from its parent <see cref="VertexOutputBuffer{TRecord,TTime}"/> and a constant logical time. /// </summary> /// <param name="parent">The parent buffer.</param> /// <param name="time">The constant time.</param> internal VertexOutputBufferPerTime(VertexOutputBuffer <TRecord, TTime> parent, TTime time) { this.parent = parent; this.Time = time; this.Buffer = new Message <TRecord, TTime>(time); this.Buffer.Allocate(AllocationReason.VertexOutputBuffer); }
internal StreamingInputVertex(int index, Stage <Epoch> stage) : base(index, stage) { this.inputQueue = new System.Collections.Concurrent.ConcurrentQueue <Instruction>(); this.output = new VertexOutputBuffer <S, Epoch>(this); }