org.terracotta.modules.hibernatecache.presentation
Class QueryStats
java.lang.Object
org.terracotta.modules.hibernatecache.presentation.QueryStats
- All Implemented Interfaces:
- Serializable
public class QueryStats
- extends Object
- implements Serializable
- See Also:
- Serialized Form
query
protected final String query
cacheHitCount
protected long cacheHitCount
cacheMissCount
protected long cacheMissCount
cachePutCount
protected long cachePutCount
executionCount
protected long executionCount
executionRowCount
protected long executionRowCount
executionAvgTime
protected long executionAvgTime
executionMaxTime
protected long executionMaxTime
executionMinTime
protected long executionMinTime
QueryStats
public QueryStats(String name)
QueryStats
public QueryStats(String name,
QueryStatistics src)
QueryStats
public QueryStats(CompositeData cData)
add
public void add(QueryStats stats)
toString
public String toString()
- Overrides:
toString in class Object
getQuery
public String getQuery()
getCacheHitCount
public long getCacheHitCount()
getCacheMissCount
public long getCacheMissCount()
getCachePutCount
public long getCachePutCount()
getExecutionCount
public long getExecutionCount()
getExecutionRowCount
public long getExecutionRowCount()
getExecutionAvgTime
public long getExecutionAvgTime()
getExecutionMaxTime
public long getExecutionMaxTime()
getExecutionMinTime
public long getExecutionMinTime()
toCompositeData
public CompositeData toCompositeData()
newTabularDataInstance
public static TabularData newTabularDataInstance()
fromTabularData
public static QueryStats[] fromTabularData(TabularData tabularData)
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.