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