public class ReadOnlyCounter extends Object implements ICounter
ICounter.| Constructor and Description |
|---|
ReadOnlyCounter(ICounter src) |
| Modifier and Type | Method and Description |
|---|---|
long |
get()
The current value of the counter (initially zero).
|
long |
incrementAndGet()
Increment the current value of the counter and then return its value
(atomic).
|
public ReadOnlyCounter(ICounter src)
public long get()
ICounterpublic long incrementAndGet()
ICounterincrementAndGet in interface ICounterCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.