private void SendData() { var key = _keyGenerator.Generate(); var timer = _metric.StartMeasure(); _metric.AddResult(_adapter.Send(key, _iterator.Current)); _metric.StopMeasure(timer); }
public override bool OneDataProcess() { var key = _keyGenerator.Generate(); var timer = _metric.StartMeasure(); _metric.AddResult(_adapter.Read(key)); _metric.StopMeasure(timer); return(true); }