VMware GemFire Search Java API Reference
Class LuceneIndexMetrics
- java.lang.Object
-
- org.apache.geode.cache.lucene.management.LuceneIndexMetrics
-
public class LuceneIndexMetrics extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexMetrics(java.lang.String regionPath, java.lang.String indexName, int queryExecutions, long queryExecutionTime, long queryRateAverageLatency, int queryExecutionsInProgress, long queryExecutionTotalHits, int updates, long updateTime, long updateRateAverageLatency, int updatesInProgress, int commits, long commitTime, long commitRateAverageLatency, int commitsInProgress, int documents, int reindexRepositories, long reindexRepositoriesTime, int reindexRepositoriesInProgress, int reindexes, long reindexTime, int reindexesInProgress)This constructor is to be used by internal JMX framework only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCommitRateAverageLatency()Returns the average latency for the commit operations using theLuceneIndexintgetCommits()Returns the number of commit operations executed on theLuceneIndexintgetCommitsInProgress()Returns the number of commit operations in progress for theLuceneIndexlonggetCommitTime()Returns the time consumed by the commit operations on theLuceneIndexintgetDocuments()Returns the number of documents indexed byLuceneIndexjava.lang.StringgetIndexName()Returns theStringname of theLuceneIndexcreatedintgetQueryExecutions()Returns the number of query executions using theLuceneIndexintgetQueryExecutionsInProgress()Returns the number of query executions in progress which are using theLuceneIndexlonggetQueryExecutionTime()Returns the time duration for execution of queries using theLuceneIndexlonggetQueryExecutionTotalHits()Returns the number of hits for the query execution using theLuceneIndexlonggetQueryRateAverageLatency()Returns the average latency for query executions using theLuceneIndexjava.lang.StringgetRegionPath()Returns theStringpath for the region on which theLuceneIndexis createdintgetReindexes()Returns the number of reindex operations executed on theLuceneIndexintgetReindexesInProgress()Returns the number of reindex operations in progress for theLuceneIndexintgetReindexRepositories()Returns the number of reindex operations on repository executed on theLuceneIndexintgetReindexRepositoriesInProgress()Returns the number of reindex operations for the repository in progress for theLuceneIndexlonggetReindexRepositoriesTime()Returns the time consumed by the reindex operations for the repository on theLuceneIndexlonggetReindexTime()Returns the time consumed by the reIndex operations on theLuceneIndexlonggetUpdateRateAverageLatency()Returns the average latency for the update operations on theLuceneIndexintgetUpdates()Returns the number of update operations on theLuceneIndexintgetUpdatesInProgress()Returns the number of update operations in progress for theLuceneIndexlonggetUpdateTime()Returns the time consumed for the update operations on theLuceneIndexjava.lang.StringtoString()Outputs the string message containing all the stats stored for theLuceneIndex
-
-
-
Constructor Detail
-
LuceneIndexMetrics
@ConstructorProperties({"regionPath","indexName","queryExecutions","queryExecutionTime","queryRateAverageLatency","queryExecutionsInProgress","queryExecutionTotalHits","updates","updateTime","updateRateAverageLatency","updatesInProgress","commits","commitTime","commitRateAverageLatency","commitsInProgress","documents","reindexRepositories","reindexRepositoriesTime","reindexRepositoriesInProgress","reindexes","reindexTime","reindexesInProgress"}) public LuceneIndexMetrics(java.lang.String regionPath, java.lang.String indexName, int queryExecutions, long queryExecutionTime, long queryRateAverageLatency, int queryExecutionsInProgress, long queryExecutionTotalHits, int updates, long updateTime, long updateRateAverageLatency, int updatesInProgress, int commits, long commitTime, long commitRateAverageLatency, int commitsInProgress, int documents, int reindexRepositories, long reindexRepositoriesTime, int reindexRepositoriesInProgress, int reindexes, long reindexTime, int reindexesInProgress)This constructor is to be used by internal JMX framework only. A user should not try to create an instance of this class.- Parameters:
regionPath- the path for the region on which theLuceneIndexis createdindexName- the name of theLuceneIndexcreatedqueryExecutions- the number of query executions using theLuceneIndexqueryExecutionTime- the time duration for execution of queries using theLuceneIndexqueryRateAverageLatency- the average latency for query executions using theLuceneIndexqueryExecutionsInProgress- the number of query executions in progress which are using theLuceneIndexqueryExecutionTotalHits- the number of hits for the query execution using theLuceneIndexupdates- the number of update operations on theLuceneIndexupdateTime- the time consumed for the update operations on theLuceneIndexupdateRateAverageLatency- the average latency for the update operations on theLuceneIndexupdatesInProgress- the number of update operations in progress for theLuceneIndexcommits- the number of commit operations executed on theLuceneIndexcommitTime- the time consumed by the commit operations on theLuceneIndexcommitRateAverageLatency- the average latency for the commit operations using theLuceneIndexcommitsInProgress- the number of commit operations in progress for theLuceneIndexdocuments- the number of documents indexed byLuceneIndexreindexRepositories- the number of reindex operations on repositories executed on theLuceneIndexreindexRepositoriesTime- the time consumed by the reindex operations on repositories on theLuceneIndexreindexRepositoriesInProgress- the number of reindex operations on repositories in progress for theLuceneIndexreindexes- the number of reindex operations executed on theLuceneIndexreindexTime- the time consumed by the reindex operations on theLuceneIndexreindexesInProgress- the number of reindex operations in progress for theLuceneIndex
-
-
Method Detail
-
getRegionPath
public java.lang.String getRegionPath()
Returns theStringpath for the region on which theLuceneIndexis created- Returns:
- String value of the region path on the Lucene Index is created
-
getIndexName
public java.lang.String getIndexName()
Returns theStringname of theLuceneIndexcreated- Returns:
- String value of the index name
-
getQueryExecutions
public int getQueryExecutions()
Returns the number of query executions using theLuceneIndex- Returns:
- Number of queries executed using this Lucene index
-
getQueryExecutionTime
public long getQueryExecutionTime()
Returns the time duration for execution of queries using theLuceneIndex- Returns:
- long value for the time in nanoseconds consumed in the execution of queries using this Lucene Index
-
getQueryRateAverageLatency
public long getQueryRateAverageLatency()
Returns the average latency for query executions using theLuceneIndex- Returns:
- the average latency for query executions in nanoseconds using the Lucene Index
-
getQueryExecutionsInProgress
public int getQueryExecutionsInProgress()
Returns the number of query executions in progress which are using theLuceneIndex- Returns:
- the number of query executions in progress which are using the Lucene Index
-
getQueryExecutionTotalHits
public long getQueryExecutionTotalHits()
Returns the number of hits for the query execution using theLuceneIndex- Returns:
- the number of hits for the query execution using the Lucene Index
-
getUpdates
public int getUpdates()
Returns the number of update operations on theLuceneIndex- Returns:
- the number of update operations on the Lucene Index
-
getUpdateTime
public long getUpdateTime()
Returns the time consumed for the update operations on theLuceneIndex- Returns:
- the time consumed in nanoseconds for the update operations on the Lucene Index
-
getUpdateRateAverageLatency
public long getUpdateRateAverageLatency()
Returns the average latency for the update operations on theLuceneIndex- Returns:
- the average latency for the update operations in nanoseconds on the Lucene Index
-
getUpdatesInProgress
public int getUpdatesInProgress()
Returns the number of update operations in progress for theLuceneIndex- Returns:
- the number of update operations in progress for the Lucene Index
-
getCommits
public int getCommits()
Returns the number of commit operations executed on theLuceneIndex- Returns:
- the number of commit operations executed on the Lucene Index
-
getCommitTime
public long getCommitTime()
Returns the time consumed by the commit operations on theLuceneIndex- Returns:
- the time consumed in nanoseconds by the commit operations on the Lucene Index
-
getCommitRateAverageLatency
public long getCommitRateAverageLatency()
Returns the average latency for the commit operations using theLuceneIndex- Returns:
- Returns the average latency for the commit operations in nanoseconds using the Lucene Index
-
getCommitsInProgress
public int getCommitsInProgress()
Returns the number of commit operations in progress for theLuceneIndex- Returns:
- Returns the number of commit operations in progress for the Lucene Indexes
-
getDocuments
public int getDocuments()
Returns the number of documents indexed byLuceneIndex- Returns:
- Returns the number of documents indexed by Lucene
-
getReindexRepositories
public int getReindexRepositories()
Returns the number of reindex operations on repository executed on theLuceneIndex- Returns:
- the number of reindex on operations repository executed on the Lucene Index
-
getReindexRepositoriesTime
public long getReindexRepositoriesTime()
Returns the time consumed by the reindex operations for the repository on theLuceneIndex- Returns:
- the time consumed in nanoseconds by the reindex operations for the repository on the Lucene Index
-
getReindexRepositoriesInProgress
public int getReindexRepositoriesInProgress()
Returns the number of reindex operations for the repository in progress for theLuceneIndex- Returns:
- Returns the number of reindex operations for the repository in progress for the Lucene Indexes
-
getReindexes
public int getReindexes()
Returns the number of reindex operations executed on theLuceneIndex- Returns:
- the number of reindex operations executed on the Lucene Index
-
getReindexTime
public long getReindexTime()
Returns the time consumed by the reIndex operations on theLuceneIndex- Returns:
- the time consumed in nanoseconds by the reindex operations on the Lucene Index
-
getReindexesInProgress
public int getReindexesInProgress()
Returns the number of reindex operations in progress for theLuceneIndex- Returns:
- Returns the number of reindex operations in progress for the Lucene Indexes
-
toString
public java.lang.String toString()
Outputs the string message containing all the stats stored for theLuceneIndex- Overrides:
toStringin classjava.lang.Object- Returns:
- the string message containing all the stats stored for the Lucene Index
-
-