[This is preliminary documentation and is subject to change.]
A message containing typed records all with a common time
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 struct Message<TRecord, TTime> where TTime : Object, Time<TTime>
Type Parameters
- TRecord
- record type
- TTime
- time type
The MessageTRecord, TTime type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Allocate |
Causes an unallocated message to point at empty valid data
| |
| Release |
Releases the memory held by an allocated message back to a pool. Only call when no other references to the message are held.
|
Fields
| Name | Description | |
|---|---|---|
| length |
Number of valid typed records
| |
| payload |
Payload of typed records
| |
| time |
Time common to all records
|
Properties
| Name | Description | |
|---|---|---|
| Unallocated |
Tests whether the message points at valid data or not
|
See Also