SCS

scs.demos.mapreduce.servant
Class BufferOutputCollectorServant

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by scs.demos.mapreduce.OutputCollectorPOA
          extended by scs.demos.mapreduce.servant.BufferOutputCollectorServant
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, OutputCollectorOperations

public class BufferOutputCollectorServant
extends OutputCollectorPOA

Servant que implementa a interface OutputCollector usada na operação map quanto o numero de reducers é maior que zero.


Constructor Summary
BufferOutputCollectorServant(MapTaskServant task)
           
 
Method Summary
 void close()
           
 void collect(org.omg.CORBA.Any key, org.omg.CORBA.Any value)
           
 void flush()
           
 
Methods inherited from class scs.demos.mapreduce.OutputCollectorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferOutputCollectorServant

public BufferOutputCollectorServant(MapTaskServant task)
                             throws IOMapReduceException
Throws:
IOMapReduceException
Method Detail

close

public void close()
           throws IOMapReduceException
Throws:
IOMapReduceException

flush

public void flush()
           throws IOMapReduceException
Throws:
IOMapReduceException

collect

public void collect(org.omg.CORBA.Any key,
                    org.omg.CORBA.Any value)
             throws IOMapReduceException
Throws:
IOMapReduceException

SCS