I - Vertex idV - Vertex valueE - Edge valuepublic class MasterThread<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
GIRAPH_TIMERS_COUNTER_GROUP_NAME
Counter group name for the Giraph timers
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MasterThread(CentralizedServiceMaster<I,V,E> bspServiceMaster,
org.apache.hadoop.mapreduce.Mapper.Context context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The master algorithm.
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final String GIRAPH_TIMERS_COUNTER_GROUP_NAME
public MasterThread(CentralizedServiceMaster<I,V,E> bspServiceMaster, org.apache.hadoop.mapreduce.Mapper.Context context)
bspServiceMaster - Master that already exists and setup() has
been called.context - Context from the Mapper.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.