org.apache.hadoop.hbase.util
Class JVMClusterUtil.RegionServerThread
java.lang.Object
java.lang.Thread
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
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 |
JVMClusterUtil.RegionServerThread
public JVMClusterUtil.RegionServerThread(HRegionServer r,
int index)
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.