SCS

scs.demos.mapreduce.servant
Class PartitionerServant

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by scs.demos.mapreduce.PartitionerPOA
          extended by scs.demos.mapreduce.servant.PartitionerServant
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, PartitionerOperations

public class PartitionerServant
extends PartitionerPOA

Servant que implementa a interface scs::demos::mapreduce::Partitioner


Constructor Summary
PartitionerServant()
           
 
Method Summary
 int getPartition(org.omg.CORBA.Any key, org.omg.CORBA.Any value, int numPartitions)
           
 java.util.Comparator getPartitionComparator()
           
 
Methods inherited from class scs.demos.mapreduce.PartitionerPOA
_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

PartitionerServant

public PartitionerServant()
Method Detail

getPartition

public int getPartition(org.omg.CORBA.Any key,
                        org.omg.CORBA.Any value,
                        int numPartitions)

getPartitionComparator

public java.util.Comparator getPartitionComparator()

SCS