public void UpdateReplicationPerformance(SqlReplicationPerformanceStats performance)
 {
     ReplicationPerformanceStats.Enqueue(performance);
     while (ReplicationPerformanceStats.Count > 25)
     {
         SqlReplicationPerformanceStats _;
         ReplicationPerformanceStats.TryDequeue(out _);
     }
 }
예제 #2
0
 protected bool Equals(SqlReplicationPerformanceStats other)
 {
     return(BatchSize == other.BatchSize && Duration.Equals(other.Duration) && Started.Equals(other.Started));
 }