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 Object
- Author:
- fhanik
SlowQueryReport.QueryStats
public SlowQueryReport.QueryStats(String query)
getFieldNames
public static String[] getFieldNames()
getFieldDescriptions
public static String[] getFieldDescriptions()
getFieldTypes
public static OpenType[] getFieldTypes()
toString
public String toString()
- Overrides:
toString
in class Object
getCompositeData
public CompositeDataSupport getCompositeData(CompositeType type)
throws OpenDataException
- Throws:
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 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 Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
isOlderThan
public boolean isOlderThan(SlowQueryReport.QueryStats other)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.