[This is preliminary documentation and is subject to change.]
Represents a single abstract vertex in a dataflow graph, with a time type that
indicates its level of nesting in the graph.
Inheritance Hierarchy
Microsoft.Research.Naiad.DataflowVertex
Microsoft.Research.Naiad.DataflowVertexTTime
Microsoft.Research.Naiad.Dataflow.StandardVerticesBinaryVertexTInput1, TInput2, TOutput, TTime
Microsoft.Research.Naiad.Dataflow.StandardVerticesSinkVertexTOutput, TTime
Microsoft.Research.Naiad.Dataflow.StandardVerticesUnaryVertexTInput, TOutput, TTime
Namespace: Microsoft.Research.Naiad.Dataflow
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public abstract class Vertex<TTime> : Vertex where TTime : Object, Time<TTime>
Type Parameters
- TTime
- The type of timestamps on messages that this vertex processes.
The VertexTTime type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VertexTTime |
Constructs a new Vertex with the given index in the given stage.
|
Methods
Name | Description | |
---|---|---|
AddOnFlushAction | (Inherited from Vertex.) | |
Checkpoint |
Writes the state of this vertex to the given writer.
(Overrides VertexCheckpoint(NaiadWriter).) | |
Flush |
Flushes all buffered state at this vertex.
(Inherited from Vertex.) | |
NotifyAt(TTime) |
Requests notification after all messages bearing the given time or earlier have been delivered.
| |
NotifyAt(TTime, TTime) |
Requests a notification once all messages bearing the requirement time have been delivered,
with the capability to send messages at a different (potentially later) time.
| |
OnNotify |
Indicates that all messages bearing the given time (or earlier) have been delivered.
| |
OnShutdown |
Called after all messages and notifications have been delivered to this vertex.
(Overrides VertexOnShutdown.) | |
Restore |
Restores the state of this vertex from the given reader.
(Overrides VertexRestore(NaiadReader).) | |
ToString |
Returns a string representation of this vertex.
(Inherited from Vertex.) | |
UpdateReachability |
The worker will invoke this method periodically to indicate progress through
the computation, and enable (for example) garbage-collection code to run.
(Inherited from Vertex.) |
Fields
Name | Description | |
---|---|---|
isShutdown |
Currently available for checkpoint restore
(Inherited from Vertex.) | |
Stage |
The stage to which this vertex belongs.
(Inherited from Vertex.) | |
VertexId |
Vertex identifier (unique within the same Stage).
(Inherited from Vertex.) |
Properties
Name | Description | |
---|---|---|
Entrancy |
Indicates number of additional times the vertex may be entered
(Inherited from Vertex.) | |
IsShutDown |
Indicates whether the vertex has been shut down
(Inherited from Vertex.) | |
LoggingOutput |
The stream that will be used for logging updates to the vertex state.
(Inherited from Vertex.) |
Remarks
See Also