Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
static Counter |
TimeLimitingCollector.getGlobalCounter()
Returns the global TimerThreads
Counter
Invoking this creates may create a new instance of TimeLimitingCollector.TimerThread iff
the global TimeLimitingCollector.TimerThread has never been accessed before. |
Constructor and Description |
---|
TimeLimitingCollector.TimerThread(Counter counter) |
TimeLimitingCollector.TimerThread(long resolution,
Counter counter) |
TimeLimitingCollector(Collector collector,
Counter clock,
long ticksAllowed)
Create a TimeLimitedCollector wrapper over another
Collector with a specified timeout. |
Modifier and Type | Method and Description |
---|---|
static Counter |
Counter.newCounter()
Returns a new counter.
|
static Counter |
Counter.newCounter(boolean threadSafe)
Returns a new counter.
|