org.apache.hama.util
Class ClusterUtil.GroomServerThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.hama.util.ClusterUtil.GroomServerThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ClusterUtil

public static class ClusterUtil.GroomServerThread
extends java.lang.Thread

Data Structure to hold GroomServer Thread and GroomServer instance


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

Constructor Detail

ClusterUtil.GroomServerThread

public ClusterUtil.GroomServerThread(GroomServer r,
                                     int index)
Method Detail

getGroomServer

public GroomServer getGroomServer()
Returns:
the groom server

waitForServerOnline

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



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