public class AllReduceBatchFinalReceiver extends BaseReduceBatchFinalReceiver
reducedValueMap, reduceFunctionbarriers, 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
|
handleMessageaggregate, init, isAllEmpty, isFilledToSend, onSyncEvent, sendToTargetallQueuesEmpty, allSyncsPresent, clean, isComplete, onFinish, onMessage, progressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, onMessagepublic AllReduceBatchFinalReceiver(ReduceFunction reduce, TreeBroadcast receiver)
protected boolean handleFinished(int task,
java.lang.Object value)
BaseReduceBatchFinalReceiverhandleFinished in class BaseReduceBatchFinalReceivertask - taskvalue - valueprotected boolean sendSyncForward(int target)
SourceReceiversendSyncForward in class SourceReceivertarget - target