| |
|
| org.cougaar.glm.plugins.tools.GLMStimulatorPlugin org.cougaar.glm.plugins.tools.GLMTestingStimulatorPlugin
GLMTestingStimulatorPlugin | public class GLMTestingStimulatorPlugin extends GLMStimulatorPlugin implements UTILAllocationListener(Code) | |
An extension of the GLMStimulator Plugin that automatically
sends batches of a given task and keep track of the time it
takes to finish the batch.
|
Inner Class :class GLMTestingButtonListener extends GLMButtonListener | |
batchesSent | protected int batchesSent(Code) | | |
totalBatches | protected int totalBatches(Code) | | |
createGUI | protected void createGUI(String infile)(Code) | | Actually create the GUI window.
Adds an additional field for the number of times the tasks should be sent.
Parameters: infile - - default input file. From param "ClusterInputFile" defined in .env.xml. |
handleSuccessfulAlloc | public void handleSuccessfulAlloc(Allocation alloc)(Code) | | Everytime a successful allocation returns, we want to send a new batch of
the same tasks until the desired total has been sent.
Also keep track of the time spent on each batch.
Cache the already handled allocations by their UID's
|
interestingNotification | public boolean interestingNotification(Task t)(Code) | | |
printTestingSummary | protected void printTestingSummary()(Code) | | |
publishRemovalOfAllocation | public void publishRemovalOfAllocation(Allocation alloc)(Code) | | |
setupFilters | public void setupFilters()(Code) | | Add the filter for allocations
|
|
|
|