public interface ICounter
BTree, the mutable counter
is NOT thread-safe. An unpartitioned index exposes a single counter for the
entire index. A partitioned index exposes a counter per index partition and
the partition identified forms the high int32 for the counter.IIndexLocalCounter.getCounter()| 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).
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.