org.apache.hadoop.hbase.regionserver
Class HRegionThriftServer

java.lang.Object
  extended by java.lang.Thread
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.