Package org.apache.solr.cloud
Class Overseer.OverseerThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.solr.cloud.Overseer.OverseerThread
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isClosed
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description OverseerThread(ThreadGroup tg, Closeable thread)
OverseerThread(ThreadGroup ccTg, Closeable thread, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closeable
getThread()
boolean
isClosed()
-
Methods inherited from class java.lang.Thread
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
OverseerThread
public OverseerThread(ThreadGroup tg, Closeable thread)
-
OverseerThread
public OverseerThread(ThreadGroup ccTg, Closeable thread, String name)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getThread
public Closeable getThread()
-
isClosed
public boolean isClosed()
-
-