Package com.whylogs.core.statistics
Class CountersTracker
java.lang.Object
com.whylogs.core.statistics.CountersTracker
public class CountersTracker
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CountersTracker()
-
Method Summary
Modifier and Type Method Description void
add(CountersTracker other)
static CountersTracker
fromProtobuf(com.whylogs.core.message.Counters message)
void
incrementCount()
void
incrementTrue()
CountersTracker
merge(CountersTracker other)
com.whylogs.core.message.Counters.Builder
toProtobuf()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CountersTracker
public CountersTracker()
-
-
Method Details
-
incrementCount
public void incrementCount() -
incrementTrue
public void incrementTrue() -
add
-
merge
-
toProtobuf
public com.whylogs.core.message.Counters.Builder toProtobuf() -
fromProtobuf
-