protected static class ElasticSearchConnection.CallThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected org.apache.http.client.HttpClient |
client |
protected Throwable |
exception |
protected org.apache.http.client.methods.HttpRequestBase |
method |
protected String |
response |
protected int |
resultCode |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ElasticSearchConnection.CallThread(org.apache.http.client.HttpClient client,
org.apache.http.client.methods.HttpRequestBase method) |
Modifier and Type | Method and Description |
---|---|
void |
finishUp() |
Throwable |
getException() |
String |
getResponse() |
int |
getResultCode() |
void |
run() |
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
protected final org.apache.http.client.HttpClient client
protected final org.apache.http.client.methods.HttpRequestBase method
protected int resultCode
protected String response
protected Throwable exception
public ElasticSearchConnection.CallThread(org.apache.http.client.HttpClient client, org.apache.http.client.methods.HttpRequestBase method)
public void finishUp() throws org.apache.http.HttpException, IOException, InterruptedException
org.apache.http.HttpException
IOException
InterruptedException
public int getResultCode()
public String getResponse()
public Throwable getException()