Public Member Functions | |
GrmImpl (boolean debug_) | |
void | registerLrm (String lrmId, StaticInfo staticInfo) |
void | sendUpdate (String lrmId, DynamicInfo dynamicInfo) |
void | remoteExecutionRequest (CommonExecutionSpecs commonSpecs, DistinctExecutionSpecs[] distinctSpecs, boolean forceDifferentMachines) |
void | run () |
Private Member Functions | |
ExecutionSpecs | createExecSpecs (CommonExecutionSpecs commonSpecs, DistinctExecutionSpecs distinctSpecs) |
void | touchLrm (String lrmIor) |
void | removeLrm (String lrmIor) |
String | generatePreferences (String preferences) |
String | generateConstraints (String constraints, String denyingHosts) |
String | generateDeniedConstraint (String denyingHosts) |
void | dumpLrm (String offerId) |
void | dumpStaticInfo (StaticInfo staticInfo) |
void | dumpDynamicInfo (DynamicInfo dynamicInfo) |
void | dumpExecutionSpecs (ExecutionSpecs execSpecs) |
Private Attributes | |
ORB | orb |
Lookup | lkp |
HashMap | regLrm |
boolean | debug |
Static Private Attributes | |
final int | NUM_STATIC_FEATURES = 8 |
final int | NUM_DYNAMIC_FEATURES = 7 |
final int | NUM_FEATURES |
GRM acts as a resource availability descriptions repository and scheduler.
|
Creates a GrmImpl Object
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generates a TCL constraint that describes all machines that already denied an execution request.
|
|
|
|
Register a LRM on this GRM
|
|
Receives a remote execution request. Receives a remote execution request from an ASCT and finds a suitable machine to service that request, if one is available. If not, notifies the requesting ASCT.
|
|
|
|
|
|
Receive an update from a given LRM
|
|
|
|
|
|
|
|
|
|
Initial value: |
|
|
|
|
|
|