Class LuceneIndexMetrics
java.lang.Object
org.apache.geode.cache.lucene.management.LuceneIndexMetrics
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneIndexMetrics(String regionPath, 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) This constructor is to be used by internal JMX framework only. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the average latency for the commit operations using theLuceneIndexintReturns the number of commit operations executed on theLuceneIndexintReturns the number of commit operations in progress for theLuceneIndexlongReturns the time consumed by the commit operations on theLuceneIndexintReturns the number of documents indexed byLuceneIndexReturns theStringname of theLuceneIndexcreatedintReturns the number of query executions using theLuceneIndexintReturns the number of query executions in progress which are using theLuceneIndexlongReturns the time duration for execution of queries using theLuceneIndexlongReturns the number of hits for the query execution using theLuceneIndexlongReturns the average latency for query executions using theLuceneIndexReturns theStringpath for the region on which theLuceneIndexis createdlongReturns the average latency for the update operations on theLuceneIndexintReturns the number of update operations on theLuceneIndexintReturns the number of update operations in progress for theLuceneIndexlongReturns the time consumed for the update operations on theLuceneIndextoString()Outputs the string message containing all the stats stored for theLuceneIndex
-
Constructor Details
-
LuceneIndexMetrics
@ConstructorProperties({"regionPath","indexName","queryExecutions","queryExecutionTime","queryRateAverageLatency","queryExecutionsInProgress","queryExecutionTotalHits","updates","updateTime","updateRateAverageLatency","updatesInProgress","commits","commitTime","commitRateAverageLatency","commitsInProgress","documents"}) public LuceneIndexMetrics(String regionPath, 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) 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 byLuceneIndex
-
-
Method Details
-
getRegionPath
Returns theStringpath for the region on which theLuceneIndexis created- Returns:
- String value of the region path on the Lucene Index is created
-
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
-
toString
Outputs the string message containing all the stats stored for theLuceneIndex
-