Skip to main content

Counter

Class

trading.keysquare.api.monitoring.Counter

Counters can be created by using KeySession.

Counts that are recorded will automatically be sent to the monitoring.

Methods

void increment()

Increment the counter by one.

void increment(long amount)

Increment the counter by the given amount.