Dear Friends,
I have gone through Spaced shared and AllocPolicy classes and I am
interested in implementing different Internal scheduler.
I could not understand the following flow.
In Example8
if (i % 2 == 0)
{
success = gridletSubmit(gridlet, resourceID[id], 0.0, true);
System.out.println("Ack = " + success);
System.out.println();
}
// Gridlets with odd numbers are sent but not required an ack
else {
success = gridletSubmit(gridlet, resourceID[id], 0.0,
false);
}
Q1. Where is the defn of gridletSubmit() available?
Q2. How is the AllocPolicy's gridletSubmit() getting invoked ?
Q3. If a new Internal scheduling Class is defined, Where should incorporate
the changes , apart from doing in ResourceCharacteristics object?
Kindly help me .
JR
|