Class Master
java.lang.Object
|
+--Master
- Direct Known Subclasses:
- ArrayIO, CMapMaster, ComputeMaster, ImagePMaster, NeuralNQ, NullIO, NullReader, NullWriter, Partition2D, Squeegee, StringIO
- public abstract class Master
- extends java.lang.Object
Base class for master/worker paradigm.
- Author:
- Michael S. Noble (mnoble@space.mit.edu) Copyright (c) 2000, 2003
This code may only be used under the terms of GNU General Public License.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
space
protected net.jini.space.JavaSpace space
task
protected Task task
timer
protected Timer timer
reporter
protected Reporter reporter
snapshot
protected net.jini.core.entry.Entry snapshot
numIters
protected int numIters
numObjs
protected int numObjs
metaResult
protected java.lang.Object metaResult
rClass
protected java.lang.Class rClass
rMethod
protected java.lang.reflect.Method rMethod
numTasksProcessed
protected short numTasksProcessed
args
protected java.lang.String[] args
arg
protected int arg
Master
public Master()
init
protected void init()
init
protected void init(net.jini.core.entry.Entry template)
init
protected void init(net.jini.core.entry.Entry template,
java.lang.String spaceName)
generateTask
protected Task generateTask()
distributeTasks
protected void distributeTasks()
collectTasks
protected void collectTasks()
reportResults
public void reportResults()
shift
protected void shift(int count)
shift
protected void shift()
name
protected java.lang.String name()
format
protected double format(double x)