C# Class Brunet.Services.MapReduce.RpcMapReduceTask

Inheritance: MapReduceTask
Show file Open project: johnynek/brunet

Protected Properties

Property Type Description
_map string>.Pair
_reduce string>.Pair
_tree string>.Pair

Public Methods

Method Description
GenerateTree ( Channel q, MapReduceArgs args ) : void
Map ( Channel q, object map_arg ) : void
Reduce ( Channel q, object reduce_arg, object current_result, RpcResult child_rpc ) : void
RpcMapReduceTask ( Node n, IDictionary targets ) : System

Protected Methods

Method Description
MapHandler ( object o, EventArgs args ) : void
ParseTarget ( IList targ ) : string>.Pair
ReduceHandler ( object o, EventArgs args ) : void
TreeHandler ( object o, EventArgs eargs ) : void

Method Details

GenerateTree() public method

public GenerateTree ( Channel q, MapReduceArgs args ) : void
q Brunet.Concurrent.Channel
args MapReduceArgs
return void

Map() public method

public Map ( Channel q, object map_arg ) : void
q Brunet.Concurrent.Channel
map_arg object
return void

MapHandler() protected method

protected MapHandler ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

ParseTarget() protected method

protected ParseTarget ( IList targ ) : string>.Pair
targ IList
return string>.Pair

Reduce() public method

public Reduce ( Channel q, object reduce_arg, object current_result, RpcResult child_rpc ) : void
q Brunet.Concurrent.Channel
reduce_arg object
current_result object
child_rpc Brunet.Messaging.RpcResult
return void

ReduceHandler() protected method

protected ReduceHandler ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

RpcMapReduceTask() public method

public RpcMapReduceTask ( Node n, IDictionary targets ) : System
n Node
targets IDictionary
return System

TreeHandler() protected method

protected TreeHandler ( object o, EventArgs eargs ) : void
o object
eargs System.EventArgs
return void

Property Details

_map protected property

protected Pair _map
return string>.Pair

_reduce protected property

protected Pair _reduce
return string>.Pair

_tree protected property

protected Pair _tree
return string>.Pair