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()
ICounter
public long incrementAndGet()
ICounter
incrementAndGet
in interface ICounter
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.