org.apache.hadoop.hbase.util
Class JVMClusterUtil.RegionServerThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread
All Implemented Interfaces:
Runnable
Enclosing class:
JVMClusterUtil

public static class JVMClusterUtil.RegionServerThread
extends Thread

Datastructure to hold RegionServer Thread and RegionServer instance


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JVMClusterUtil.RegionServerThread(HRegionServer r, int index)
           
 
Method Summary
 HRegionServer getRegionServer()
           
 void waitForServerOnline()
          Block until the region server has come online, indicating it is ready to be used.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JVMClusterUtil.RegionServerThread

public JVMClusterUtil.RegionServerThread(HRegionServer r,
                                         int index)
Method Detail

getRegionServer

public HRegionServer getRegionServer()
Returns:
the region server

waitForServerOnline

public void waitForServerOnline()
Block until the region server has come online, indicating it is ready to be used.



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