public class AllReduceBatchFinalReceiver extends BaseReduceBatchFinalReceiver
reducedValueMap, reduceFunction
barriers, destination, isSyncSent, messages, operation, sendPendingMax, sourcesOfTarget, syncReceived, syncState, targetStates, workerId
Constructor and Description |
---|
AllReduceBatchFinalReceiver(ReduceFunction reduce,
TreeBroadcast receiver) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
handleFinished(int task,
java.lang.Object value)
Handle finish
|
protected boolean |
sendSyncForward(int target)
Handle the sync
|
handleMessage
aggregate, init, isAllEmpty, isFilledToSend, onSyncEvent, sendToTarget
allQueuesEmpty, allSyncsPresent, clean, isComplete, onFinish, onMessage, progress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, onMessage
public AllReduceBatchFinalReceiver(ReduceFunction reduce, TreeBroadcast receiver)
protected boolean handleFinished(int task, java.lang.Object value)
BaseReduceBatchFinalReceiver
handleFinished
in class BaseReduceBatchFinalReceiver
task
- taskvalue
- valueprotected boolean sendSyncForward(int target)
SourceReceiver
sendSyncForward
in class SourceReceiver
target
- target