You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2017/03/09 20:48:59 UTC

[20/50] [abbrv] geode git commit: GEODE-2604: Added measurement units to the javadoc comments

GEODE-2604: Added measurement units to the javadoc comments

	This closes #415


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/9321c0ea
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/9321c0ea
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/9321c0ea

Branch: refs/heads/feature/GEODE-1969
Commit: 9321c0ea46a4e023edebd6c0e14355fda4ec4313
Parents: 9d597dc
Author: nabarun <nn...@pivotal.io>
Authored: Mon Mar 6 17:30:07 2017 -0800
Committer: nabarun <nn...@pivotal.io>
Committed: Mon Mar 6 17:36:04 2017 -0800

----------------------------------------------------------------------
 .../lucene/management/LuceneIndexMetrics.java   | 22 +++++++++++---------
 1 file changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/9321c0ea/geode-lucene/src/main/java/org/apache/geode/cache/lucene/management/LuceneIndexMetrics.java
----------------------------------------------------------------------
diff --git a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/management/LuceneIndexMetrics.java b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/management/LuceneIndexMetrics.java
index 8b69ed5..24d14c1 100644
--- a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/management/LuceneIndexMetrics.java
+++ b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/management/LuceneIndexMetrics.java
@@ -124,7 +124,8 @@ public class LuceneIndexMetrics {
   /**
    * Returns the time duration for execution of queries using the {@link LuceneIndex}
    *
-   * @return long value for the time consumed in the execution of queries using this Lucene Index
+   * @return long value for the time in nanoseconds consumed in the execution of queries using this
+   *         Lucene Index
    */
   public long getQueryExecutionTime() {
     return this.queryExecutionTime;
@@ -142,7 +143,7 @@ public class LuceneIndexMetrics {
   /**
    * Returns the average latency for query executions using the {@link LuceneIndex}
    *
-   * @return the average latency for query executions using the Lucene Index
+   * @return the average latency for query executions in nanoseconds using the Lucene Index
    */
   public long getQueryRateAverageLatency() {
     return this.queryRateAverageLatency;
@@ -160,7 +161,7 @@ public class LuceneIndexMetrics {
   /**
    * Returns the number of hits for the query execution using the {@link LuceneIndex}
    *
-   * @return the number of hit for the query execution using the Lucene Index
+   * @return the number of hits for the query execution using the Lucene Index
    */
   public long getQueryExecutionTotalHits() {
     return this.queryExecutionTotalHits;
@@ -178,7 +179,7 @@ public class LuceneIndexMetrics {
   /**
    * Returns the time consumed for the update operations on the {@link LuceneIndex}
    *
-   * @return the time consumed for the update operations on the Lucene Index
+   * @return the time consumed in nanoseconds for the update operations on the Lucene Index
    */
   public long getUpdateTime() {
     return this.updateTime;
@@ -196,7 +197,7 @@ public class LuceneIndexMetrics {
   /**
    * Returns the average latency for the update operations on the {@link LuceneIndex}
    *
-   * @return the average latency for the update operations on the Lucene Index
+   * @return the average latency for the update operations in nanoseconds on the Lucene Index
    */
   public long getUpdateRateAverageLatency() {
     return this.updateRateAverageLatency;
@@ -212,9 +213,9 @@ public class LuceneIndexMetrics {
   }
 
   /**
-   * Returns the number of commit operation executed on the {@link LuceneIndex}
+   * Returns the number of commit operations executed on the {@link LuceneIndex}
    *
-   * @return the number of commit operation executed on the Lucene Index
+   * @return the number of commit operations executed on the Lucene Index
    */
   public int getCommits() {
     return this.commits;
@@ -223,7 +224,7 @@ public class LuceneIndexMetrics {
   /**
    * Returns the time consumed by the commit operations on the {@link LuceneIndex}
    *
-   * @return the time consumed by the commit operations on the Lucene Index
+   * @return the time consumed in nanoseconds by the commit operations on the Lucene Index
    */
   public long getCommitTime() {
     return this.commitTime;
@@ -241,7 +242,8 @@ public class LuceneIndexMetrics {
   /**
    * Returns the average latency for the commit operations using the {@link LuceneIndex}
    *
-   * @return Returns the average latency for the commit operations using the Lucene Index
+   * @return Returns the average latency for the commit operations in nanoseconds using the Lucene
+   *         Index
    */
   public long getCommitRateAverageLatency() {
     return this.commitRateAverageLatency;
@@ -268,7 +270,7 @@ public class LuceneIndexMetrics {
   /**
    * Outputs the string message containing all the stats stored for the {@link LuceneIndex}
    *
-   * @return the string message containing all the stats stored for the {@link LuceneIndex}
+   * @return the string message containing all the stats stored for the Lucene Index
    */
   @Override
   public String toString() {