use of es.bsc.compss.types.data.ResultFile in project compss by bsc-wdc.
the class GetResultFilesRequest method process.
@Override
public void process(AccessProcessor ap, TaskAnalyser ta, DataInfoProvider dip, TaskDispatcher td) {
ResultListener listener = new ResultListener(sem);
TreeSet<Integer> writtenDataIds = ta.getAndRemoveWrittenFiles(this.appId);
if (writtenDataIds != null) {
for (int dataId : writtenDataIds) {
ResultFile rf;
rf = dip.blockDataAndGetResultFile(dataId, listener);
if (rf == null) {
continue;
}
blockedData.add(rf);
}
listener.enable();
} else {
sem.release();
}
}
Aggregations