Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
addFails |
protected Set<String> |
deleteFails |
protected List<String> |
deletes |
protected boolean |
doDeletes |
protected String |
id |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
StopableIndexingThread(org.apache.solr.client.solrj.SolrServer controlClient,
org.apache.solr.client.solrj.SolrServer cloudClient,
String id,
boolean doDeletes) |
StopableIndexingThread(org.apache.solr.client.solrj.SolrServer controlClient,
org.apache.solr.client.solrj.SolrServer cloudClient,
String id,
boolean doDeletes,
int numCycles) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFields(org.apache.solr.common.SolrInputDocument doc,
Object... fields) |
Set<String> |
getAddFails() |
Set<String> |
getDeleteFails() |
int |
getFailCount() |
int |
getNumAdds() |
int |
getNumDeletes() |
protected void |
indexDoc(org.apache.solr.common.SolrInputDocument doc) |
protected void |
indexr(Object... fields) |
void |
run() |
void |
safeStop() |
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, yieldprotected final String id
protected boolean doDeletes
public StopableIndexingThread(org.apache.solr.client.solrj.SolrServer controlClient,
org.apache.solr.client.solrj.SolrServer cloudClient,
String id,
boolean doDeletes)
public StopableIndexingThread(org.apache.solr.client.solrj.SolrServer controlClient,
org.apache.solr.client.solrj.SolrServer cloudClient,
String id,
boolean doDeletes,
int numCycles)
public void safeStop()
public int getFailCount()
protected void addFields(org.apache.solr.common.SolrInputDocument doc,
Object... fields)
protected void indexDoc(org.apache.solr.common.SolrInputDocument doc)
throws IOException,
org.apache.solr.client.solrj.SolrServerException
IOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic int getNumDeletes()
public int getNumAdds()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.