public interface LongCounter
long values| Modifier and Type | Method and Description |
|---|---|
default void |
dump(java.lang.String comment,
java.lang.String file)
Print counters' values to the file
|
java.lang.String |
toString(java.lang.String ts,
java.lang.String comment)
Return the string representation of the counter
|
void |
update(long value)
Update counter
|
void update(long value)
value - new valuedefault void dump(java.lang.String comment,
java.lang.String file)
throws java.io.IOException
comment - commentfile - output file name (will be appended if exists)java.io.IOExceptionjava.lang.String toString(java.lang.String ts,
java.lang.String comment)
throws java.io.IOException
ts - comment - commentjava.io.IOException