|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Thread
org.apache.manifoldcf.crawler.connectors.webcrawler.ThrottledFetcher.SocketCreateThread
protected static class ThrottledFetcher.SocketCreateThread
Create a secure socket in a thread, so that we can "give up" after a while if the socket fails to connect.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected java.net.InetAddress |
clientHost
|
protected int |
clientPort
|
protected java.lang.String |
host
|
protected int |
port
|
protected java.net.Socket |
rval
|
protected javax.net.ssl.SSLSocketFactory |
socketFactory
|
protected java.lang.Throwable |
throwable
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ThrottledFetcher.SocketCreateThread(javax.net.ssl.SSLSocketFactory socketFactory,
java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
Create the thread |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getException()
|
java.net.Socket |
getResult()
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected javax.net.ssl.SSLSocketFactory socketFactory
protected java.lang.String host
protected int port
protected java.net.InetAddress clientHost
protected int clientPort
protected java.net.Socket rval
protected java.lang.Throwable throwable
| Constructor Detail |
|---|
public ThrottledFetcher.SocketCreateThread(javax.net.ssl.SSLSocketFactory socketFactory,
java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.lang.Throwable getException()
public java.net.Socket getResult()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||