SALOME documentation central

Engines::ResourcesManager Interface Reference

Interface of the resourcesManager This interface is used for interaction with the unique instance of ResourcesManager. More...

Public Member Functions

string FindFirst (in MachineList possibleComputers)
 Find first available computer in a computers list.
string Find (in string policy, in MachineList possibleComputers)
 Find best available computer according to policy in a computers list.
MachineList GetFittingResources (in MachineParameters params) raises (SALOME::SALOME_Exception)
 Get a list of computers that are best suited to launch a container given constraints.
MachineDefinition GetMachineParameters (in string hostname)
 Get the current machine parameters of a computer.

Detailed Description

Interface of the resourcesManager This interface is used for interaction with the unique instance of ResourcesManager.


Member Function Documentation

string Engines::ResourcesManager::FindFirst ( in MachineList  possibleComputers  ) 

Find first available computer in a computers list.

string Engines::ResourcesManager::Find ( in string  policy,
in MachineList  possibleComputers 
)

Find best available computer according to policy in a computers list.

MachineList Engines::ResourcesManager::GetFittingResources ( in MachineParameters  params  )  raises (SALOME::SALOME_Exception)

Get a list of computers that are best suited to launch a container given constraints.

The constraints are resource constraints (params) and components constraints (componentList)

MachineDefinition Engines::ResourcesManager::GetMachineParameters ( in string  hostname  ) 

Get the current machine parameters of a computer.


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS