public class TopNSerializableStatsWithFrequencies<V> extends Object
AbstractTopNSerializableStats
Constructor and Description |
---|
TopNSerializableStatsWithFrequencies(int maxValuesStored,
int maxValuesPrinted,
int maxStringLength) |
Modifier and Type | Method and Description |
---|---|
Map<String,Long> |
getValueForSerialization()
Returns the value that will be passed to Gson for serialising the stats.
|
protected java.util.stream.Stream<Map.Entry<String,AtomicLong>> |
getValueStream() |
void |
store(V value) |
void |
storeAll(Collection<V> values) |
public TopNSerializableStatsWithFrequencies(int maxValuesStored, int maxValuesPrinted, int maxStringLength)
public Map<String,Long> getValueForSerialization()
SerializableStats
public void storeAll(Collection<V> values)
public void store(V value)
protected java.util.stream.Stream<Map.Entry<String,AtomicLong>> getValueStream()
Copyright © 2002-2022 Atlassian. All Rights Reserved.