scs.demos.mapreduce.servant
Class DirectOutputCollectorServant
java.lang.Object
org.omg.PortableServer.Servant
scs.demos.mapreduce.OutputCollectorPOA
scs.demos.mapreduce.servant.DirectOutputCollectorServant
- All Implemented Interfaces:
- org.omg.CORBA.portable.InvokeHandler, OutputCollectorOperations
public class DirectOutputCollectorServant
- extends OutputCollectorPOA
Servant que implementa a interface OutputCollector usada
na operação map quando o numero de reducers é igual a
zero.
Method Summary |
void |
close()
|
void |
collect(org.omg.CORBA.Any key,
org.omg.CORBA.Any value)
|
void |
flush()
|
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 |
DirectOutputCollectorServant
public DirectOutputCollectorServant(IOFormat ioformat,
Reporter reporter,
FileSplit fileSplit,
java.lang.String configFileName,
TaskStatus status)
throws IOMapReduceException
- Throws:
IOMapReduceException
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