class ThriftServerRunner extends Thread implements Closeable
getRunException()}. Call close to shutdown this Runner and
hosted ThriftServer.Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private String[] |
args |
(package private) Exception |
exception |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.thrift.ThriftServer |
thriftServer |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ThriftServerRunner(org.apache.hadoop.hbase.thrift.ThriftServer thriftServer,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
(package private) Exception |
getRunException()
Returns Empty unless
run() threw an exception; if it did, access it here. |
(package private) org.apache.hadoop.hbase.thrift.ThriftServer |
getThriftServer() |
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, yieldprivate static final org.slf4j.Logger LOG
private final org.apache.hadoop.hbase.thrift.ThriftServer thriftServer
ThriftServerRunner(org.apache.hadoop.hbase.thrift.ThriftServer thriftServer, String[] args)
org.apache.hadoop.hbase.thrift.ThriftServer getThriftServer()
Exception getRunException()
run() threw an exception; if it did, access it here.public void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.