aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Statistics/AssetStatsCollector.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-14 21:27:54 +0000
committerJustin Clarke Casey2008-05-14 21:27:54 +0000
commit56faeafdae5b4b76593e268bc994a7f663bd5685 (patch)
tree720efa22432151d2faaab08c61065a0ba02a047f /OpenSim/Framework/Statistics/AssetStatsCollector.cs
parent* Fixed attaching objects that are in-world. (diff)
downloadopensim-SC-56faeafdae5b4b76593e268bc994a7f663bd5685.zip
opensim-SC-56faeafdae5b4b76593e268bc994a7f663bd5685.tar.gz
opensim-SC-56faeafdae5b4b76593e268bc994a7f663bd5685.tar.bz2
opensim-SC-56faeafdae5b4b76593e268bc994a7f663bd5685.tar.xz
* Refactor: Renaming non viewer statistics classes from Reporters to Collectors - this seems more intuitive
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Statistics/AssetStatsCollector.cs (renamed from OpenSim/Framework/Statistics/AssetStatsReporter.cs)6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Statistics/AssetStatsReporter.cs b/OpenSim/Framework/Statistics/AssetStatsCollector.cs
index 66eb471..afc42d2 100644
--- a/OpenSim/Framework/Statistics/AssetStatsReporter.cs
+++ b/OpenSim/Framework/Statistics/AssetStatsCollector.cs
@@ -31,9 +31,9 @@ using System.Timers;
31namespace OpenSim.Framework.Statistics 31namespace OpenSim.Framework.Statistics
32{ 32{
33 /// <summary> 33 /// <summary>
34 /// Collects and reports information on the requests made to the asset server 34 /// Asset service statistics collection
35 /// </summary> 35 /// </summary>
36 public class AssetStatsReporter 36 public class AssetStatsCollector
37 { 37 {
38 private Timer ageStatsTimer = new Timer(24 * 60 * 60 * 1000); 38 private Timer ageStatsTimer = new Timer(24 * 60 * 60 * 1000);
39 private DateTime startTime = DateTime.Now; 39 private DateTime startTime = DateTime.Now;
@@ -48,7 +48,7 @@ namespace OpenSim.Framework.Statistics
48 public long AssetRequestsYesterday { get { return assetRequestsYesterday; } } 48 public long AssetRequestsYesterday { get { return assetRequestsYesterday; } }
49 public long AssetRequestsNotFoundYesterday { get { return assetRequestsNotFoundYesterday; } } 49 public long AssetRequestsNotFoundYesterday { get { return assetRequestsNotFoundYesterday; } }
50 50
51 public AssetStatsReporter() 51 public AssetStatsCollector()
52 { 52 {
53 ageStatsTimer.Elapsed += new ElapsedEventHandler(OnAgeing); 53 ageStatsTimer.Elapsed += new ElapsedEventHandler(OnAgeing);
54 ageStatsTimer.Enabled = true; 54 ageStatsTimer.Enabled = true;