use of es.bsc.compss.types.data.operation.copy.ImmediateCopy in project compss by bsc-wdc.
the class Dispatcher method processRequests.
public void processRequests() {
DataOperation fOp;
while (true) {
fOp = queue.dequeue();
if (fOp == null) {
break;
}
// What kind of operation is requested?
if (fOp instanceof ImmediateCopy) {
// File transfer (copy)
ImmediateCopy c = (ImmediateCopy) fOp;
c.perform();
} else if (fOp instanceof DeferredCopy) {
// DO nothing
} else {
// fOp instanceof Delete
Delete d = (Delete) fOp;
performOperation(d);
}
}
}
Aggregations