public class CountingSerializableStats extends Object implements SerializableStats<Long>
Constructor and Description |
---|
CountingSerializableStats() |
Modifier and Type | Method and Description |
---|---|
void |
add(long value) |
long |
get() |
Long |
getValueForSerialization()
Returns the value that will be passed to Gson for serialising the stats.
|
void |
increment() |
public void increment()
public void add(long value)
public long get()
public Long getValueForSerialization()
SerializableStats
getValueForSerialization
in interface SerializableStats<Long>
Copyright © 2002-2022 Atlassian. All Rights Reserved.