Top Fields Constructors Methods
net.sf.ehcache.hibernate.management.impl

public Class QueryStats

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, java.util.ArrayList, .Iterator, .List, javax.management.openmbean.CompositeData, .CompositeDataSupport, .CompositeType, .OpenDataException, .OpenType, .SimpleType, .TabularData, .TabularDataSupport, .TabularType, org.hibernate.stat.QueryStatistics

Author
gkeim

Field Summary

Modifier and TypeField and Description
protected long
cacheHitCount

cacheHitCount

protected long
cacheMissCount

cacheMissCount

protected long
cachePutCount

cachePutCount

private static final CompositeType
private static final String
private static final String
protected long
executionAvgTime

executionAvgTime

protected long
executionCount

executionCount

protected long
executionMaxTime

executionMaxTime

protected long
executionMinTime

executionMinTime

protected long
executionRowCount

executionRowCount

private static final String[]
private static final String[]
private static final String[]
private static final OpenType<T>[]
protected final String
query

query

private static final TabularType
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public void
add(QueryStats stats)

public static QueryStats[]
fromTabularData(final TabularData tabularData)

fromTabularData

public long
getCacheHitCount()

getCacheHitCount

public long
getCacheMissCount()

getCacheMissCount

public long
getCachePutCount()

getCachePutCount

public long
getExecutionAvgTime()

getExecutionAvgTime

public long
getExecutionCount()

getExecutionCount

public long
getExecutionMaxTime()

getExecutionMaxTime

public long
getExecutionMinTime()

getExecutionMinTime

public long
getExecutionRowCount()

getExecutionRowCount

public String
getQuery()

getQuery

public static TabularData
newTabularDataInstance()

newTabularDataInstance

private static int
public CompositeData
toCompositeData()

toCompositeData

public String
toString()

Overrides java.lang.Object.toString.

toString
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

cacheHitCountback to summary
protected long cacheHitCount

cacheHitCount

cacheMissCountback to summary
protected long cacheMissCount

cacheMissCount

cachePutCountback to summary
protected long cachePutCount

cachePutCount

COMPOSITE_TYPEback to summary
private static final CompositeType COMPOSITE_TYPE
COMPOSITE_TYPE_DESCRIPTIONback to summary
private static final String COMPOSITE_TYPE_DESCRIPTION
COMPOSITE_TYPE_NAMEback to summary
private static final String COMPOSITE_TYPE_NAME
executionAvgTimeback to summary
protected long executionAvgTime

executionAvgTime

executionCountback to summary
protected long executionCount

executionCount

executionMaxTimeback to summary
protected long executionMaxTime

executionMaxTime

executionMinTimeback to summary
protected long executionMinTime

executionMinTime

executionRowCountback to summary
protected long executionRowCount

executionRowCount

INDEX_NAMESback to summary
private static final String[] INDEX_NAMES
ITEM_DESCRIPTIONSback to summary
private static final String[] ITEM_DESCRIPTIONS
ITEM_NAMESback to summary
private static final String[] ITEM_NAMES
ITEM_TYPESback to summary
private static final OpenType<T>[] ITEM_TYPES
queryback to summary
protected final String query

query

TABULAR_TYPEback to summary
private static final TabularType TABULAR_TYPE
TABULAR_TYPE_DESCRIPTIONback to summary
private static final String TABULAR_TYPE_DESCRIPTION
TABULAR_TYPE_NAMEback to summary
private static final String TABULAR_TYPE_NAME

Constructor Detail

QueryStatsback to summary
public QueryStats(String name)
QueryStatsback to summary
public QueryStats(String name, QueryStatistics src)
QueryStatsback to summary
public QueryStats(final CompositeData cData)

Method Detail

addback to summary
public void add(QueryStats stats)
fromTabularDataback to summary
public static QueryStats[] fromTabularData(final TabularData tabularData)

fromTabularData

getCacheHitCountback to summary
public long getCacheHitCount()

getCacheHitCount

getCacheMissCountback to summary
public long getCacheMissCount()

getCacheMissCount

getCachePutCountback to summary
public long getCachePutCount()

getCachePutCount

getExecutionAvgTimeback to summary
public long getExecutionAvgTime()

getExecutionAvgTime

getExecutionCountback to summary
public long getExecutionCount()

getExecutionCount

getExecutionMaxTimeback to summary
public long getExecutionMaxTime()

getExecutionMaxTime

getExecutionMinTimeback to summary
public long getExecutionMinTime()

getExecutionMinTime

getExecutionRowCountback to summary
public long getExecutionRowCount()

getExecutionRowCount

getQueryback to summary
public String getQuery()

getQuery

newTabularDataInstanceback to summary
public static TabularData newTabularDataInstance()

newTabularDataInstance

safeParseIntback to summary
private static int safeParseInt(String s)
toCompositeDataback to summary
public CompositeData toCompositeData()

toCompositeData

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

toString

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object.

Annotations
@Override