C# Class Brunet.Services.MapReduce.MapReduceTask

Show file Open project: johnynek/brunet Class Usage Examples

Protected Properties

Property Type Description
_node Node
_task_name WriteOnce

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

Protected Methods

Method Description
Log ( string format_string ) : void
MapReduceTask ( Node n ) : System

Method Details

GenerateTree() public method

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

Log() protected method

protected Log ( string format_string ) : void
format_string string
return void

Map() public method

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

MapReduceTask() protected method

protected MapReduceTask ( Node n ) : System
n Node
return System

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

Property Details

_node protected property

protected Node _node
return Node

_task_name protected property

protected WriteOnce _task_name
return WriteOnce