C# Class Brunet.Services.MapReduce.MapReduceComputation

Afficher le fichier Open project: johnynek/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_mr_args MapReduceArgs
_mr_request_state object
_mr_task MapReduceTask
_node Node
_result object
_rpc Brunet.Messaging.RpcManager
_state State
_sync object

Méthodes publiques

Méthode Description
MapReduceComputation ( Node node, object state, MapReduceTask task, MapReduceArgs args ) : System
Start ( ) : void

Méthodes protégées

Méthode Description
ChildCallback ( object cq, EventArgs arg ) : void
GenTreeHandler ( object chano, EventArgs args ) : void
HandleException ( ISender from, Exception x ) : void
MapHandler ( object chan, EventArgs args ) : void
Reduce ( RpcResult child_r ) : void
ReduceHandler ( object ro, EventArgs args ) : void
SendResult ( object result ) : bool
TryNextReduce ( State new_s, State old_s, RpcResult v, bool cont ) : bool

Method Details

ChildCallback() protected méthode

protected ChildCallback ( object cq, EventArgs arg ) : void
cq object
arg System.EventArgs
Résultat void

GenTreeHandler() protected méthode

protected GenTreeHandler ( object chano, EventArgs args ) : void
chano object
args System.EventArgs
Résultat void

HandleException() protected méthode

protected HandleException ( ISender from, Exception x ) : void
from ISender
x System.Exception
Résultat void

MapHandler() protected méthode

protected MapHandler ( object chan, EventArgs args ) : void
chan object
args System.EventArgs
Résultat void

MapReduceComputation() public méthode

public MapReduceComputation ( Node node, object state, MapReduceTask task, MapReduceArgs args ) : System
node Node
state object
task MapReduceTask
args MapReduceArgs
Résultat System

Reduce() protected méthode

protected Reduce ( RpcResult child_r ) : void
child_r Brunet.Messaging.RpcResult
Résultat void

ReduceHandler() protected méthode

protected ReduceHandler ( object ro, EventArgs args ) : void
ro object
args System.EventArgs
Résultat void

SendResult() protected méthode

protected SendResult ( object result ) : bool
result object
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

TryNextReduce() protected méthode

protected TryNextReduce ( State new_s, State old_s, RpcResult v, bool cont ) : bool
new_s State
old_s State
v Brunet.Messaging.RpcResult
cont bool
Résultat bool

Property Details

_mr_args protected_oe property

protected MapReduceArgs,Brunet.Services.MapReduce _mr_args
Résultat MapReduceArgs

_mr_request_state protected_oe property

protected object _mr_request_state
Résultat object

_mr_task protected_oe property

protected MapReduceTask,Brunet.Services.MapReduce _mr_task
Résultat MapReduceTask

_node protected_oe property

protected Node _node
Résultat Node

_result protected_oe property

protected object _result
Résultat object

_rpc protected_oe property

protected RpcManager,Brunet.Messaging _rpc
Résultat Brunet.Messaging.RpcManager

_state protected_oe property

protected State _state
Résultat State

_sync protected_oe property

protected object _sync
Résultat object