[This is preliminary documentation and is subject to change.]
A collection of extension methods that facilitate checkpointing and restoring
standard data structures.
Inheritance Hierarchy
Microsoft.Research.Naiad.Serialization.CheckpointRestoreExtensionMethods
Namespace: Microsoft.Research.Naiad.Serialization
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public static class CheckpointRestoreExtensionMethods
The CheckpointRestoreExtensionMethods type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Checkpoint<TElement>(List<TElement>, NaiadWriter) |
Writes this list to the given writer.
|
![]() ![]() | Checkpoint<TElement>(TElement[], Int32, NaiadWriter) |
Writes the given count of elements from this array to the given writer.
|
![]() ![]() | Checkpoint<TKey, TValue>(Dictionary<TKey, TValue>, NaiadWriter) |
Writes this dictionary to the given writer.
|
![]() ![]() | Restore<TElement>(List<TElement>, NaiadReader) |
Reads this list from the given reader.
|
![]() ![]() | Restore<TKey, TValue>(Dictionary<TKey, TValue>, NaiadReader) |
Reads this dictionary from the given reader.
|
![]() ![]() | RestoreArray<TElement> |
Reads an array from the given reader.
|
See Also