コード例 #1
0
        public void SnapshotState(IFunctionSnapshotContext context)
        {
            Preconditions.CheckState(_checkpointedState != null, $"The {GetType()} has not been properly initialized.");

            _checkpointedState.Clear();
            _checkpointedState.Add(NumElementsEmitted);
        }
コード例 #2
0
 public void SnapshotState(IFunctionSnapshotContext context)
 {
     _checkpointedCount.Clear();
     _checkpointedCount.Add(_counter);
 }
コード例 #3
0
 public void SnapshotState(IFunctionSnapshotContext context)
 {
     throw new System.NotImplementedException();
 }