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 long
getCommitRateAverageLatency()
Returns the average latency for the commit operations using theLuceneIndex
int
getCommits()
Returns the number of commit operations executed on theLuceneIndex
int
getCommitsInProgress()
Returns the number of commit operations in progress for theLuceneIndex
long
getCommitTime()
Returns the time consumed by the commit operations on theLuceneIndex
int
getDocuments()
Returns the number of documents indexed byLuceneIndex
java.lang.String
getIndexName()
Returns theString
name of theLuceneIndex
createdint
getQueryExecutions()
Returns the number of query executions using theLuceneIndex
int
getQueryExecutionsInProgress()
Returns the number of query executions in progress which are using theLuceneIndex
long
getQueryExecutionTime()
Returns the time duration for execution of queries using theLuceneIndex
long
getQueryExecutionTotalHits()
Returns the number of hits for the query execution using theLuceneIndex
long
getQueryRateAverageLatency()
Returns the average latency for query executions using theLuceneIndex
java.lang.String
getRegionPath()
Returns theString
path for the region on which theLuceneIndex
is createdint
getReindexes()
Returns the number of reindex operations executed on theLuceneIndex
int
getReindexesInProgress()
Returns the number of reindex operations in progress for theLuceneIndex
int
getReindexRepositories()
Returns the number of reindex operations on repository executed on theLuceneIndex
int
getReindexRepositoriesInProgress()
Returns the number of reindex operations for the repository in progress for theLuceneIndex
long
getReindexRepositoriesTime()
Returns the time consumed by the reindex operations for the repository on theLuceneIndex
long
getReindexTime()
Returns the time consumed by the reIndex operations on theLuceneIndex
long
getUpdateRateAverageLatency()
Returns the average latency for the update operations on theLuceneIndex
int
getUpdates()
Returns the number of update operations on theLuceneIndex
int
getUpdatesInProgress()
Returns the number of update operations in progress for theLuceneIndex
long
getUpdateTime()
Returns the time consumed for the update operations on theLuceneIndex
java.lang.String
toString()
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 theLuceneIndex
is createdindexName
- the name of theLuceneIndex
createdqueryExecutions
- the number of query executions using theLuceneIndex
queryExecutionTime
- the time duration for execution of queries using theLuceneIndex
queryRateAverageLatency
- the average latency for query executions using theLuceneIndex
queryExecutionsInProgress
- the number of query executions in progress which are using theLuceneIndex
queryExecutionTotalHits
- the number of hits for the query execution using theLuceneIndex
updates
- the number of update operations on theLuceneIndex
updateTime
- the time consumed for the update operations on theLuceneIndex
updateRateAverageLatency
- the average latency for the update operations on theLuceneIndex
updatesInProgress
- the number of update operations in progress for theLuceneIndex
commits
- the number of commit operations executed on theLuceneIndex
commitTime
- the time consumed by the commit operations on theLuceneIndex
commitRateAverageLatency
- the average latency for the commit operations using theLuceneIndex
commitsInProgress
- the number of commit operations in progress for theLuceneIndex
documents
- the number of documents indexed byLuceneIndex
reindexRepositories
- the number of reindex operations on repositories executed on theLuceneIndex
reindexRepositoriesTime
- the time consumed by the reindex operations on repositories on theLuceneIndex
reindexRepositoriesInProgress
- the number of reindex operations on repositories in progress for theLuceneIndex
reindexes
- the number of reindex operations executed on theLuceneIndex
reindexTime
- the time consumed by the reindex operations on theLuceneIndex
reindexesInProgress
- the number of reindex operations in progress for theLuceneIndex
-
-
Method Detail
-
getRegionPath
public java.lang.String getRegionPath()
Returns theString
path for the region on which theLuceneIndex
is created- Returns:
- String value of the region path on the Lucene Index is created
-
getIndexName
public java.lang.String getIndexName()
Returns theString
name of theLuceneIndex
created- 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:
toString
in classjava.lang.Object
- Returns:
- the string message containing all the stats stored for the Lucene Index
-
-