public class WavefrontSdkCounter extends Object implements WavefrontSdkMetric
Modifier and Type | Method and Description |
---|---|
void |
clear()
Resets the counter's value to 0.
|
long |
count()
Gets the counter's current value.
|
void |
dec()
Decrements the counter by one.
|
void |
dec(long n)
Decrements the counter by the specified amount.
|
void |
inc()
Increments the counter by one.
|
void |
inc(long n)
Increments the counter by the specified amount.
|
public void inc()
public void inc(long n)
n
- The amount to increment by.public void dec()
public void dec(long n)
n
- The amount to decrement by.public long count()
public void clear()
Copyright © 2022. All rights reserved.