public static class SlowQueryReport.QueryStats
extends java.lang.Object
Constructor and Description |
---|
SlowQueryReport.QueryStats(java.lang.String query) |
Modifier and Type | Method and Description |
---|---|
void |
add(long invocationTime,
long now) |
boolean |
equals(java.lang.Object other) |
void |
failure(long invocationTime,
long now) |
javax.management.openmbean.CompositeDataSupport |
getCompositeData(javax.management.openmbean.CompositeType type) |
static java.lang.String[] |
getFieldDescriptions() |
static java.lang.String[] |
getFieldNames() |
static javax.management.openmbean.OpenType[] |
getFieldTypes() |
long |
getMaxInvocationDate() |
long |
getMaxInvocationTime() |
long |
getMinInvocationDate() |
long |
getMinInvocationTime() |
int |
getNrOfInvocations() |
java.lang.String |
getQuery() |
long |
getTotalInvocationTime() |
int |
hashCode() |
boolean |
isOlderThan(SlowQueryReport.QueryStats other) |
void |
prepare(long invocationTime) |
java.lang.String |
toString() |
public SlowQueryReport.QueryStats(java.lang.String query)
public static java.lang.String[] getFieldNames()
public static java.lang.String[] getFieldDescriptions()
public static javax.management.openmbean.OpenType[] getFieldTypes()
public java.lang.String toString()
toString
in class java.lang.Object
public javax.management.openmbean.CompositeDataSupport getCompositeData(javax.management.openmbean.CompositeType type) throws javax.management.openmbean.OpenDataException
javax.management.openmbean.OpenDataException
public void prepare(long invocationTime)
public void add(long invocationTime, long now)
public void failure(long invocationTime, long now)
public java.lang.String getQuery()
public int getNrOfInvocations()
public long getMaxInvocationTime()
public long getMaxInvocationDate()
public long getMinInvocationTime()
public long getMinInvocationDate()
public long getTotalInvocationTime()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean isOlderThan(SlowQueryReport.QueryStats other)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.