public class LuceneIndexMetrics extends Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
long |
getCommitRateAverageLatency()
Returns the average latency for the commit operations using the
LuceneIndex |
int |
getCommits()
Returns the number of commit operations executed on the
LuceneIndex |
int |
getCommitsInProgress()
Returns the number of commit operations in progress for the
LuceneIndex |
long |
getCommitTime()
Returns the time consumed by the commit operations on the
LuceneIndex |
int |
getDocuments()
Returns the number of documents indexed by
LuceneIndex |
String |
getIndexName()
Returns the
String name of the LuceneIndex created |
int |
getQueryExecutions()
Returns the number of query executions using the
LuceneIndex |
int |
getQueryExecutionsInProgress()
Returns the number of query executions in progress which are using the
LuceneIndex |
long |
getQueryExecutionTime()
Returns the time duration for execution of queries using the
LuceneIndex |
long |
getQueryExecutionTotalHits()
Returns the number of hits for the query execution using the
LuceneIndex |
long |
getQueryRateAverageLatency()
Returns the average latency for query executions using the
LuceneIndex |
String |
getRegionPath()
Returns the
String path for the region on which the LuceneIndex is created |
long |
getUpdateRateAverageLatency()
Returns the average latency for the update operations on the
LuceneIndex |
int |
getUpdates()
Returns the number of update operations on the
LuceneIndex |
int |
getUpdatesInProgress()
Returns the number of update operations in progress for the
LuceneIndex |
long |
getUpdateTime()
Returns the time consumed for the update operations on the
LuceneIndex |
String |
toString()
Outputs the string message containing all the stats stored for the
LuceneIndex |
@ConstructorProperties(value={"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)
regionPath
- the path for the region on which the LuceneIndex
is createdindexName
- the name of the LuceneIndex
createdqueryExecutions
- the number of query executions using the LuceneIndex
queryExecutionTime
- the time duration for execution of queries using the
LuceneIndex
queryRateAverageLatency
- the average latency for query executions using the
LuceneIndex
queryExecutionsInProgress
- the number of query executions in progress which are using the
LuceneIndex
queryExecutionTotalHits
- the number of hits for the query execution using the
LuceneIndex
updates
- the number of update operations on the LuceneIndex
updateTime
- the time consumed for the update operations on the LuceneIndex
updateRateAverageLatency
- the average latency for the update operations on the
LuceneIndex
updatesInProgress
- the number of update operations in progress for the
LuceneIndex
commits
- the number of commit operations executed on the LuceneIndex
commitTime
- the time consumed by the commit operations on the LuceneIndex
commitRateAverageLatency
- the average latency for the commit operations using the
LuceneIndex
commitsInProgress
- the number of commit operations in progress for the
LuceneIndex
documents
- the number of documents indexed by LuceneIndex
public String getRegionPath()
String
path for the region on which the LuceneIndex
is createdpublic String getIndexName()
String
name of the LuceneIndex
createdpublic int getQueryExecutions()
LuceneIndex
public long getQueryExecutionTime()
LuceneIndex
public long getQueryRateAverageLatency()
LuceneIndex
public int getQueryExecutionsInProgress()
LuceneIndex
public long getQueryExecutionTotalHits()
LuceneIndex
public int getUpdates()
LuceneIndex
public long getUpdateTime()
LuceneIndex
public long getUpdateRateAverageLatency()
LuceneIndex
public int getUpdatesInProgress()
LuceneIndex
public int getCommits()
LuceneIndex
public long getCommitTime()
LuceneIndex
public long getCommitRateAverageLatency()
LuceneIndex
public int getCommitsInProgress()
LuceneIndex
public int getDocuments()
LuceneIndex
public String toString()
LuceneIndex