org.apache.hadoop.hbase.regionserver
Class HRegionThriftServer
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.regionserver.HRegionThriftServer
- All Implemented Interfaces:
- Runnable
public class HRegionThriftServer
- extends Thread
HRegionThriftServer - this class starts up a Thrift server in the same
JVM where the RegionServer is running. It inherits most of the
functionality from the standard ThriftServer. This is good because
we can maintain compatibility with applications that use the
standard Thrift interface. For performance reasons, we can override
methods to directly invoke calls into the HRegionServer and avoid the hop.
This can be enabled with hbase.regionserver.export.thrift set to true.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Method Summary |
void |
run()
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
LOG
public static final org.apache.commons.logging.Log LOG
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.