Revision 104,
816 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[104] | 1 | package schedframe.scheduling.plugin.local; |
---|
| 2 | |
---|
| 3 | import gridsim.gssim.resource.ResourceProcessors; |
---|
| 4 | |
---|
| 5 | import java.util.Collection; |
---|
| 6 | import java.util.Map; |
---|
| 7 | |
---|
| 8 | import schedframe.resources.ComputingNode; |
---|
| 9 | import schedframe.resources.units.Memory; |
---|
| 10 | import schedframe.resources.units.ResourceUnit; |
---|
| 11 | import schedframe.scheduling.utils.ResourceParameterName; |
---|
| 12 | |
---|
| 13 | public interface ResourceUnitsManagerInterface { |
---|
| 14 | |
---|
| 15 | public Map<ResourceParameterName, ResourceUnit> getReservedResources(String id); |
---|
| 16 | |
---|
| 17 | public void removeResourceReservation(String id); |
---|
| 18 | |
---|
| 19 | public void removeResourceReservation(Map<ResourceParameterName, ResourceUnit> lastUsedResources); |
---|
| 20 | |
---|
| 21 | public ResourceProcessors getProcessors(); |
---|
| 22 | |
---|
| 23 | public Memory getMemory(); |
---|
| 24 | |
---|
| 25 | public Collection<ComputingNode> getComputingNode(); |
---|
| 26 | |
---|
| 27 | public ComputingNode getComputingNode(String id); |
---|
| 28 | |
---|
| 29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.