示例#1
0
 /// <summary>
 /// Return a string describing the statistics for this service. This also
 /// resets the statistics. Used for debugging purposes.
 /// </summary>
 ///
 public String Stats()
 {
     ICURWLock.Stats stats = factoryLock.ResetStats();
     if (stats != null)
     {
         return(stats.ToString());
     }
     return("no stats");
 }
示例#2
0
 public ICURWLock.Stats  ClearStats()
 {
     ICURWLock.Stats result = stats;
     stats = null;
     return(result);
 }
示例#3
0
 public ICURWLock.Stats  ResetStats()
 {
     ICURWLock.Stats result = stats;
     stats = new ICURWLock.Stats();
     return(result);
 }
示例#4
0
 public Stats(ICURWLock.Stats rhs) : this(rhs._rc, rhs._mrc, rhs._wrc, rhs._wc, rhs._wwc)
 {
 }