| Modifier and Type | Field and Description |
|---|---|
private long |
count |
| Modifier | Constructor and Description |
|---|---|
private |
SerialCounter() |
| Modifier and Type | Method and Description |
|---|---|
long |
addAndGet(long delta)
Adds the given delta to the counters current value
|
long |
get()
Returns the counters current value
|
newCounter, newCounterpublic long addAndGet(long delta)
Counter