public class StatisticCollectorImpl extends LinkedHashMap<String,StatisticRecord> implements StatisticCollector, ParserGeneral
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
StatisticCollectorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(Query<?,?> query,
Throwable result) |
String |
generateIdentifier() |
int |
getBufferSize() |
Entities<StatisticRecord> |
getTarget() |
void |
ignoreExecutionTimeBelow(long milliseconds) |
boolean |
ignoreSuccessful(boolean ignore) |
void |
received(Query<?,?> query,
Integer result) |
protected boolean |
removeEldestEntry(Map.Entry<String,StatisticRecord> eldest) |
void |
send(Query<?,?> query) |
void |
setBufferSize(int bufferSize) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waittoBD, toBigDecimal, toBigDecimal, toBigInteger, toBooleanBig, toBooleanSmall, toCurrentDateSQL, toCurrentTimestamp, toCurrentTimestampTimeZoneDefault, toDate, toDateSQL, toDateSQL, toDouble, toDouble, toFloat, toFloat, toInteger, toInteger, toLong, toLong, toShort, toSting, toSting, toString, toTime, toTime, toTimestamp, toTimestamp, toTimestamp, toTimeZone, toTimeZone, toTimeZonecompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic void send(Query<?,?> query)
send in interface StatisticCollectorpublic void received(Query<?,?> query, Integer result)
received in interface StatisticCollectorpublic void error(Query<?,?> query, Throwable result)
error in interface StatisticCollectorpublic Entities<StatisticRecord> getTarget()
getTarget in interface StatisticCollectorpublic String generateIdentifier()
generateIdentifier in interface StatisticCollectorpublic int getBufferSize()
getBufferSize in interface StatisticCollectorpublic void setBufferSize(int bufferSize)
setBufferSize in interface StatisticCollectorpublic boolean ignoreSuccessful(boolean ignore)
ignoreSuccessful in interface StatisticCollectorpublic void ignoreExecutionTimeBelow(long milliseconds)
ignoreExecutionTimeBelow in interface StatisticCollectorprotected boolean removeEldestEntry(Map.Entry<String,StatisticRecord> eldest)
removeEldestEntry in class LinkedHashMap<String,StatisticRecord>Copyright © 2021. All rights reserved.