Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 25531200C45 for ; Mon, 13 Mar 2017 18:42:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2408E160B6C; Mon, 13 Mar 2017 17:42:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 45A64160B91 for ; Mon, 13 Mar 2017 18:42:33 +0100 (CET) Received: (qmail 4684 invoked by uid 500); 13 Mar 2017 17:42:30 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 3712 invoked by uid 99); 13 Mar 2017 17:42:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2017 17:42:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C477EF4B62; Mon, 13 Mar 2017 17:42:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jstewart@apache.org To: commits@geode.apache.org Date: Mon, 13 Mar 2017 17:42:45 -0000 Message-Id: In-Reply-To: <776dd8d8ab284b5a99915db66ed37f49@git.apache.org> References: <776dd8d8ab284b5a99915db66ed37f49@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [18/50] [abbrv] geode git commit: GEODE-2604: Added javadoc comments to LuceneIndexMetrics.java archived-at: Mon, 13 Mar 2017 17:42:34 -0000 GEODE-2604: Added javadoc comments to LuceneIndexMetrics.java Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/9d597dce Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/9d597dce Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/9d597dce Branch: refs/heads/GEODE-2290 Commit: 9d597dce47c3f9edc52cab0b70d9ca912a0c94d2 Parents: 946ff6e Author: nabarun Authored: Mon Mar 6 16:51:01 2017 -0800 Committer: nabarun Committed: Mon Mar 6 16:51:01 2017 -0800 ---------------------------------------------------------------------- .../lucene/management/LuceneIndexMetrics.java | 102 +++++++++++++++++++ 1 file changed, 102 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/9d597dce/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 de89758..8b69ed5 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 @@ -14,6 +14,8 @@ */ package org.apache.geode.cache.lucene.management; +import org.apache.geode.cache.lucene.LuceneIndex; + import java.beans.ConstructorProperties; public class LuceneIndexMetrics { @@ -92,82 +94,182 @@ public class LuceneIndexMetrics { this.documents = documents; } + /** + * Returns the {@link String} path for the region on which the {@link LuceneIndex} is created + * + * @return String value of the region path on the Lucene Index is created + */ public String getRegionPath() { return this.regionPath; } + /** + * Returns the {@link String} name of the {@link LuceneIndex} created + * + * @return String value of the index name + */ public String getIndexName() { return this.indexName; } + /** + * Returns the number of query executions using the {@link LuceneIndex} + * + * @return Number of queries executed using this Lucene index + */ public int getQueryExecutions() { return this.queryExecutions; } + /** + * 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 + */ public long getQueryExecutionTime() { return this.queryExecutionTime; } + /** + * Returns the rate of query execution using the {@link LuceneIndex} + * + * @return the rate of query execution using the Lucene Index + */ public float getQueryRate() { return this.queryRate; } + /** + * Returns the average latency for query executions using the {@link LuceneIndex} + * + * @return the average latency for query executions using the Lucene Index + */ public long getQueryRateAverageLatency() { return this.queryRateAverageLatency; } + /** + * Returns the number of query executions in progress which are using the {@link LuceneIndex} + * + * @return the number of query executions in progress which are using the Lucene Index + */ public int getQueryExecutionsInProgress() { return this.queryExecutionsInProgress; } + /** + * 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 + */ public long getQueryExecutionTotalHits() { return this.queryExecutionTotalHits; } + /** + * Returns the number of update operations on the {@link LuceneIndex} + * + * @return the number of update operations on the Lucene Index + */ public int getUpdates() { return this.updates; } + /** + * Returns the time consumed for the update operations on the {@link LuceneIndex} + * + * @return the time consumed for the update operations on the Lucene Index + */ public long getUpdateTime() { return this.updateTime; } + /** + * Returns the rate at which update operations are executed on the {@link LuceneIndex} + * + * @return rate at which update operations are executed on the {@link LuceneIndex} + */ public float getUpdateRate() { return this.updateRate; } + /** + * Returns the average latency for the update operations on the {@link LuceneIndex} + * + * @return the average latency for the update operations on the Lucene Index + */ public long getUpdateRateAverageLatency() { return this.updateRateAverageLatency; } + /** + * Returns the number of update operations in progress for the {@link LuceneIndex} + * + * @return the number of update operations in progress for the Lucene Index + */ public int getUpdatesInProgress() { return this.updatesInProgress; } + /** + * Returns the number of commit operation executed on the {@link LuceneIndex} + * + * @return the number of commit operation executed on the Lucene Index + */ public int getCommits() { return this.commits; } + /** + * Returns the time consumed by the commit operations on the {@link LuceneIndex} + * + * @return the time consumed by the commit operations on the Lucene Index + */ public long getCommitTime() { return this.commitTime; } + /** + * Returns the rate of commit operations on the {@link LuceneIndex} + * + * @return the rate of commit operations on the Lucene Index + */ public float getCommitRate() { return this.commitRate; } + /** + * 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 + */ public long getCommitRateAverageLatency() { return this.commitRateAverageLatency; } + /** + * Returns the number of commit operations in progress for the {@link LuceneIndex} + * + * @return Returns the number of commit operations in progress for the Lucene Indexes + */ public int getCommitsInProgress() { return this.commitsInProgress; } + /** + * Returns the number of documents indexed by {@link LuceneIndex} + * + * @return Returns the number of documents indexed by Lucene + */ public int getDocuments() { return documents; } + /** + * 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} + */ @Override public String toString() { return new StringBuilder().append(getClass().getSimpleName()).append("[").append("regionPath=")