private static class Protocol.WriteMetadataNodeToLocalIndexThread
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private Segment |
segment |
private java.util.concurrent.atomic.AtomicBoolean |
stop |
private java.util.Collection<URIMetadataNode> |
storeDocs |
Constructor and Description |
---|
Protocol.WriteMetadataNodeToLocalIndexThread(Segment segment,
java.util.Collection<URIMetadataNode> storeDocs)
Parameters must be not null.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
stopWriting()
Use this to stop writing operation.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private java.util.concurrent.atomic.AtomicBoolean stop
private Segment segment
private java.util.Collection<URIMetadataNode> storeDocs
public Protocol.WriteMetadataNodeToLocalIndexThread(Segment segment, java.util.Collection<URIMetadataNode> storeDocs)
segment
- solr segment to writestoreDocs
- solr documents collection to put to segment