| java.lang.Object dso.SimpleSharedQueueExample
SimpleSharedQueueExample | public class SimpleSharedQueueExample (Code) | | author: steve |
Inner Class :public static class Action | |
SimpleSharedQueueExample | public SimpleSharedQueueExample()(Code) | | |
addAction | public void addAction(float number1, float number2, char sign, int timesRepeat)(Code) | | Add a calculation to the work queue to be picked up later by what ever node gets it first and executed.
Parameters: number1 - - first item in the calculation Parameters: number2 - - second item in the calculation Parameters: sign - - calculation to perform |
clearResults | public void clearResults()(Code) | | remove all the results from the results collection
|
getPutterName | public String getPutterName()(Code) | | The name of this node.
|
getResults | public List getResults()(Code) | | Get all the results so far from all nodes and return them
List of results |
|
|