org.apache.hadoop.hbase.util
Class JVMClusterUtil.MasterThread
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- JVMClusterUtil
public static class JVMClusterUtil.MasterThread
- extends Thread
Datastructure to hold Master Thread and Master 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.MasterThread
public JVMClusterUtil.MasterThread(HMaster m,
int index)
getMaster
public HMaster getMaster()
- Returns:
- the master
waitForServerOnline
public void waitForServerOnline()
- Block until the master has come online, indicating it is ready
to be used.
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.