incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [2/3] git commit: Formatting changes.
Date Mon, 09 Dec 2013 03:02:56 GMT
Formatting changes.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/66ff70dd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/66ff70dd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/66ff70dd

Branch: refs/heads/apache-blur-0.2
Commit: 66ff70dd14aa6fbeb2acbc7376d3b396d3fa1cf4
Parents: 43ff01e
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sun Dec 8 17:02:53 2013 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Sun Dec 8 17:02:53 2013 -0500

----------------------------------------------------------------------
 .../org/apache/blur/manager/IndexManager.java   | 30 +++++++++++---------
 1 file changed, 17 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/66ff70dd/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java b/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
index 6cd9f8e..9e077e1 100644
--- a/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
+++ b/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
@@ -156,19 +156,23 @@ public class IndexManager {
     _indexServer = indexServer;
     _clusterStatus = clusterStatus;
     _filterCache = filterCache;
-    _readRecordsMeter = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, BLUR, "Read Records/s"),
"Records/s",
-        TimeUnit.SECONDS);
-    _readRowMeter = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, BLUR, "Read Row/s"),
"Row/s", TimeUnit.SECONDS);
-    _writeRecordsMeter = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, BLUR, "Write Records/s"),
"Records/s",
-        TimeUnit.SECONDS);
-    _writeRowMeter = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, BLUR, "Write Row/s"),
"Row/s", TimeUnit.SECONDS);
-
-    _queriesExternalMeter = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, BLUR, "External
Queries/s"),
-        "External Queries/s", TimeUnit.SECONDS);
-    _queriesInternalMeter = Metrics.newMeter(new MetricName(ORG_APACHE_BLUR, BLUR, "Internal
Queries/s"),
-        "Internal Queries/s", TimeUnit.SECONDS);
-    _fetchTimer = Metrics.newTimer(new MetricName(ORG_APACHE_BLUR, BLUR, "Fetch Timer"),
TimeUnit.MICROSECONDS,
-        TimeUnit.SECONDS);
+    
+    MetricName metricName1 = new MetricName(ORG_APACHE_BLUR, BLUR, "Read Records/s");
+    MetricName metricName2 = new MetricName(ORG_APACHE_BLUR, BLUR, "Read Row/s");
+    MetricName metricName3 = new MetricName(ORG_APACHE_BLUR, BLUR, "Write Records/s");
+    MetricName metricName4 = new MetricName(ORG_APACHE_BLUR, BLUR, "Write Row/s");
+    MetricName metricName5 = new MetricName(ORG_APACHE_BLUR, BLUR, "External Queries/s");
+    MetricName metricName6 = new MetricName(ORG_APACHE_BLUR, BLUR, "Internal Queries/s");
+    MetricName metricName7 = new MetricName(ORG_APACHE_BLUR, BLUR, "Fetch Timer");
+    
+    _readRecordsMeter = Metrics.newMeter(metricName1, "Records/s", TimeUnit.SECONDS);
+    _readRowMeter = Metrics.newMeter(metricName2, "Row/s", TimeUnit.SECONDS);
+    _writeRecordsMeter = Metrics.newMeter(metricName3, "Records/s", TimeUnit.SECONDS);
+    _writeRowMeter = Metrics.newMeter(metricName4, "Row/s", TimeUnit.SECONDS);
+    _queriesExternalMeter = Metrics.newMeter(metricName5, "External Queries/s", TimeUnit.SECONDS);
+    _queriesInternalMeter = Metrics.newMeter(metricName6, "Internal Queries/s", TimeUnit.SECONDS);
+    _fetchTimer = Metrics.newTimer(metricName7, TimeUnit.MICROSECONDS, TimeUnit.SECONDS);
+    
     if (threadCount == 0) {
       throw new RuntimeException("Thread Count cannot be 0.");
     }


Mime
View raw message