|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.instrumentation.metrics.MDEXMetric
public class MDEXMetric
Pretty simple bean to represent all queries to a specific MDEX, covering both cached and uncached queries
Constructor Summary | |
---|---|
MDEXMetric(java.lang.String key)
Creates a new instance with the given key |
Method Summary | |
---|---|
long |
getAverageCachedDataQueryTime()
Returns the dumb average (totalExecutionTime/numExecutions) execution time for cached queries |
long |
getAverageDataQueryTime()
Returns the dumb average (totalExecutionTime/numExecutions) execution time for uncached queries |
QueryMetric |
getCached()
Gets the QueryMetric for queries to this MDEX that were cached |
long |
getCachedDataQueryCount()
Returns the total number of cached queries |
long |
getCachedDataQueryTime()
Returns the total aggregate execution time for all cached queries |
double |
getDataQueryCacheHitPercentage()
Returns the percentage of queries that were served from the cache |
long |
getDataQueryCount()
Returns the total number of uncached queries |
long |
getDataQueryTime()
Returns the total aggregate execution time for all uncached queries |
java.lang.String |
getKey()
Returns the key for this metric, typically the DataSource name/description |
long |
getMaxCachedDataQueryTime()
Returns the maximum execution time out of all cached queries |
long |
getMaxDataQueryTime()
Returns the maximum execution time out of all uncached queries |
QueryMetric |
getUncached()
Gets the QueryMetric for queries to this MDEX that were not cached |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MDEXMetric(java.lang.String key)
key
- typically represents a DataSource (an MDEX)Method Detail |
---|
public QueryMetric getCached()
public QueryMetric getUncached()
public long getDataQueryCount()
public long getDataQueryTime()
public long getAverageDataQueryTime()
public long getMaxDataQueryTime()
public long getCachedDataQueryCount()
public long getCachedDataQueryTime()
public long getAverageCachedDataQueryTime()
public long getMaxCachedDataQueryTime()
public double getDataQueryCacheHitPercentage()
public java.lang.String getKey()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |