for (int i = 1; i < _resufflerIndex.size(); i++)
_collector.emitDirect(
_resufflerIndex.get(i),
SystemParameters.ThetaSynchronizerSignal,
new Values(SystemParameters.ThetaSignalStop, advisorcurrentAction
.toString()));
// emit the stop signal with mapping
_mAdvisor.updateMapping(advisorcurrentAction);
// **************************Local changes
_currentState = state.FLUSHING;
_currentEpochNumber++;
_currentAction = advisorcurrentAction;
_currentDimExcDis = getNewMapping(_currentAction);
LOG.info(_ID + ":" + _taskPhysicalID
+ " :Reshuffler (sending STOP) & current mapping changing to :("
+ _currentAction.toString() + ") with epoch number:" + _currentEpochNumber
+ " (" + _mAdvisor.totalRowTuples + "," + _mAdvisor.totalColumnTuples + ")");
updateLogicalMappings();
_collector.emit(SystemParameters.ThetaReshufflerSignal, new Values(
SystemParameters.ThetaSignalStop, advisorcurrentAction.toString()));
// ///*****************************
}
}