org.apache.tomcat.jdbc.pool.interceptor
Class SlowQueryReport.QueryStats
java.lang.Object
org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
- Enclosing class:
- SlowQueryReport
public static class SlowQueryReport.QueryStats
- extends java.lang.Object
- Author:
- fhanik
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SlowQueryReport.QueryStats
public SlowQueryReport.QueryStats(java.lang.String query)
getFieldNames
public static java.lang.String[] getFieldNames()
getFieldDescriptions
public static java.lang.String[] getFieldDescriptions()
getFieldTypes
public static javax.management.openmbean.OpenType[] getFieldTypes()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCompositeData
public javax.management.openmbean.CompositeDataSupport getCompositeData(javax.management.openmbean.CompositeType type)
throws javax.management.openmbean.OpenDataException
- Throws:
javax.management.openmbean.OpenDataException
prepare
public void prepare(long invocationTime,
long now)
add
public void add(long invocationTime,
long now)
failure
public void failure(long invocationTime,
long now)
getQuery
public java.lang.String getQuery()
getNrOfInvocations
public int getNrOfInvocations()
getMaxInvocationTime
public long getMaxInvocationTime()
getMaxInvocationDate
public long getMaxInvocationDate()
getMinInvocationTime
public long getMinInvocationTime()
getMinInvocationDate
public long getMinInvocationDate()
getTotalInvocationTime
public long getTotalInvocationTime()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
isOlderThan
public boolean isOlderThan(SlowQueryReport.QueryStats other)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.