<get-resource-partitions>
Extract an ordered list of lists representing the sets of resources which this entry was executed on for each attempted execution.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
name |
|
(required) |
name of variable to assign result to |
global |
|
false |
assign to global frame |
declare |
|
true |
declare variable name rather than assign to previously declared name in scope |
Elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
1:1 |
entry object to be accessed for resource partitions |
NOTES
If an entry ran twice on host p, each time using four nodes, with p003, p024, p332 and p005 the first time, and p055, p004, p003 and p008 the second time, then partition will be this list: ((p003, p024, p332, p005), (p055, p004, p003, p008)). This is returned in the form of an array of lists (java.util.List[]
).
Examples
<tspace-take block="false" serviceUri="http://otfrid.ncsa.uiuc.edu:8080/vizier.tspace/services/TupleSpace" name="tuple" declare="true" max="1"> <match-request typeValue0="test" producer="AL" /> </tspace-take> <echo message="tuple is:" /> <echo message="${tuple}" /> <get-resource-partitions name="partitions" declare="true" entry="${tuple}"/> <echo message="partitions is:" /> <echo message="${partitions}" />