SCS

scs.demos.mapreduce.schedule
Class WorkerInitializer

java.lang.Object
  extended by scs.demos.mapreduce.schedule.WorkerInitializer

public class WorkerInitializer
extends java.lang.Object

Objeto para inicializar os execution nodes, criando os containers e os componentes workers


Constructor Summary
WorkerInitializer(MasterServant master)
           
 
Method Summary
 IComponent buildChannel()
           
 java.util.concurrent.LinkedBlockingQueue buildTaskQueue()
           
 java.util.concurrent.LinkedBlockingQueue buildWorkerQueue()
           
 java.util.Hashtable connectToExecNodes()
           
 IOFormat createIOFormatServant(java.lang.String servantName)
           
 void finish()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkerInitializer

public WorkerInitializer(MasterServant master)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

createIOFormatServant

public IOFormat createIOFormatServant(java.lang.String servantName)

connectToExecNodes

public java.util.Hashtable connectToExecNodes()

buildChannel

public IComponent buildChannel()

buildWorkerQueue

public java.util.concurrent.LinkedBlockingQueue buildWorkerQueue()

buildTaskQueue

public java.util.concurrent.LinkedBlockingQueue buildTaskQueue()

finish

public void finish()

SCS