|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
alpha.AlphaRouter
public class AlphaRouter
AlphaRouter is the first implementation of a router in the SWC2 system. This class acts as a middleman between the master and workers.
The command-line syntax is as follows:
AlphaRouter [-d master_host] [-m master_port] [-w workers_port]
with the parameters reperesting the following:
AlphaMaster,
AlphaWorker| 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 | |
|---|---|
AlphaRouter(java.net.InetAddress master_addr,
int master_port,
int workers_port,
java.util.logging.Logger l)
|
|
| Method Summary | |
|---|---|
void |
logResultPileSize()
|
void |
logWorkPileSize()
|
static void |
main(java.lang.String[] args)
|
void |
run()
|
| 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, 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 |
|---|
public AlphaRouter(java.net.InetAddress master_addr,
int master_port,
int workers_port,
java.util.logging.Logger l)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void logWorkPileSize()
public void logResultPileSize()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||