Class StoreIteratorCounter
java.lang.Object
org.apache.tinkerpop.gremlin.util.iterator.StoreIteratorCounter
Utility class which can be used by providers to keep a count of the number of
open iterators to the underlying storage. Please note that, by default, this does
not maintain the count unless explicitly plugged-in by the provider implementation.
As an example on how to plugin-in the counter in the provider implementation check TinkerGraphIterator.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StoreIteratorCounter
public StoreIteratorCounter()
-
-
Method Details
-
reset
public void reset() -
getOpenIteratorCount
public long getOpenIteratorCount() -
increment
public void increment() -
decrement
public void decrement()
-