Class LuceneCounterAdapter
java.lang.Object
org.apache.lucene.util.Counter
org.hibernate.search.backend.lucene.search.timeout.impl.LuceneCounterAdapter
public final class LuceneCounterAdapter
extends org.apache.lucene.util.Counter
Converts our generic TimingSource so that Lucene can use it as a Counter
- Author:
- Sanne Grinovero
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.util.Counter
newCounter, newCounter
-
Constructor Details
-
LuceneCounterAdapter
-
-
Method Details
-
addAndGet
public long addAndGet(long delta) - Specified by:
addAndGetin classorg.apache.lucene.util.Counter
-
get
public long get()- Specified by:
getin classorg.apache.lucene.util.Counter
-