C# 클래스 Brunet.Services.MapReduce.MapReduceComputation

파일 보기 프로젝트 열기: johnynek/brunet 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_mr_args MapReduceArgs
_mr_request_state object
_mr_task MapReduceTask
_node Node
_result object
_rpc Brunet.Messaging.RpcManager
_state State
_sync object

공개 메소드들

메소드 설명
MapReduceComputation ( Node node, object state, MapReduceTask task, MapReduceArgs args ) : System
Start ( ) : void

보호된 메소드들

메소드 설명
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

메소드 상세

ChildCallback() 보호된 메소드

protected ChildCallback ( object cq, EventArgs arg ) : void
cq object
arg System.EventArgs
리턴 void

GenTreeHandler() 보호된 메소드

protected GenTreeHandler ( object chano, EventArgs args ) : void
chano object
args System.EventArgs
리턴 void

HandleException() 보호된 메소드

protected HandleException ( ISender from, Exception x ) : void
from ISender
x System.Exception
리턴 void

MapHandler() 보호된 메소드

protected MapHandler ( object chan, EventArgs args ) : void
chan object
args System.EventArgs
리턴 void

MapReduceComputation() 공개 메소드

public MapReduceComputation ( Node node, object state, MapReduceTask task, MapReduceArgs args ) : System
node Node
state object
task MapReduceTask
args MapReduceArgs
리턴 System

Reduce() 보호된 메소드

protected Reduce ( RpcResult child_r ) : void
child_r Brunet.Messaging.RpcResult
리턴 void

ReduceHandler() 보호된 메소드

protected ReduceHandler ( object ro, EventArgs args ) : void
ro object
args System.EventArgs
리턴 void

SendResult() 보호된 메소드

protected SendResult ( object result ) : bool
result object
리턴 bool

Start() 공개 메소드

public Start ( ) : void
리턴 void

TryNextReduce() 보호된 메소드

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
리턴 bool

프로퍼티 상세

_mr_args 보호되어 있는 프로퍼티

protected MapReduceArgs,Brunet.Services.MapReduce _mr_args
리턴 MapReduceArgs

_mr_request_state 보호되어 있는 프로퍼티

protected object _mr_request_state
리턴 object

_mr_task 보호되어 있는 프로퍼티

protected MapReduceTask,Brunet.Services.MapReduce _mr_task
리턴 MapReduceTask

_node 보호되어 있는 프로퍼티

protected Node _node
리턴 Node

_result 보호되어 있는 프로퍼티

protected object _result
리턴 object

_rpc 보호되어 있는 프로퍼티

protected RpcManager,Brunet.Messaging _rpc
리턴 Brunet.Messaging.RpcManager

_state 보호되어 있는 프로퍼티

protected State _state
리턴 State

_sync 보호되어 있는 프로퍼티

protected object _sync
리턴 object