Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<DocumentsWriterPerThreadPool.ThreadState> |
DocumentsWriterPerThreadPool.freeList |
private java.util.List<DocumentsWriterPerThreadPool.ThreadState> |
DocumentsWriterPerThreadPool.threadStates |
Modifier and Type | Method and Description |
---|---|
(package private) DocumentsWriterPerThreadPool.ThreadState |
DocumentsWriterFlushControl.findLargestNonPendingWriter() |
protected DocumentsWriterPerThreadPool.ThreadState |
FlushPolicy.findLargestNonPendingWriter(DocumentsWriterFlushControl control,
DocumentsWriterPerThreadPool.ThreadState perThreadState)
Returns the current most RAM consuming non-pending
DocumentsWriterPerThreadPool.ThreadState with
at least one indexed document. |
(package private) DocumentsWriterPerThreadPool.ThreadState |
DocumentsWriterPerThreadPool.getAndLock()
This method is used by DocumentsWriter/FlushControl to obtain a ThreadState to do an indexing operation (add/updateDocument).
|
(package private) DocumentsWriterPerThreadPool.ThreadState |
DocumentsWriterPerThreadPool.getThreadState(int ord)
Returns the ith active
DocumentsWriterPerThreadPool.ThreadState where i is the
given ord. |
private DocumentsWriterPerThreadPool.ThreadState |
DocumentsWriterPerThreadPool.newThreadState()
Returns a new
DocumentsWriterPerThreadPool.ThreadState iff any new state is available otherwise
null . |
(package private) DocumentsWriterPerThreadPool.ThreadState |
DocumentsWriterFlushControl.obtainAndLock() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<DocumentsWriterPerThreadPool.ThreadState> |
DocumentsWriterFlushControl.allActiveThreadStates()
Returns an iterator that provides access to all currently active
DocumentsWriterPerThreadPool.ThreadState s |
private java.util.Iterator<DocumentsWriterPerThreadPool.ThreadState> |
DocumentsWriterFlushControl.getPerThreadsIterator(int upto) |