X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FSALOME_ContainerManager.idl;h=49ff215019e279b291b1ed5ce5ddd5807da4e535;hb=3ce0546302001755828c8476425a60c6ab61ac92;hp=b9f5f6e192c6b9ad618f75f7eea2730a039da8d4;hpb=85eb31dcb591c2535c0b0d68c3525f7423888954;p=modules%2Fkernel.git diff --git a/idl/SALOME_ContainerManager.idl b/idl/SALOME_ContainerManager.idl index b9f5f6e19..49ff21501 100644 --- a/idl/SALOME_ContainerManager.idl +++ b/idl/SALOME_ContainerManager.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -67,6 +67,14 @@ struct ContainerParameters ResourceParameters resource_params; }; +struct KeyValPairString +{ + string key; + string val; +}; + +typedef sequence KeyValDict; + /*! \brief Interface of the %containerManager This interface is used for interaction with the unique instance of ContainerManager @@ -78,8 +86,41 @@ interface ContainerManager //! Currently: get, start, getorstart, findorstart, find Container GiveContainer(in ContainerParameters params) raises (SALOME::SALOME_Exception); - //! Shutdown all containers that have been launched by the container manager + //! Shutdown all containers that have been launched by the container manager. This termination is soft. It means that orb.shutdown is invoked meaning that completion of all CORBA void ShutdownContainers(); + + //! Stronger version than ShutdownContainers. This method does not wait for completion of last CORBA invokation on containers. It terminates them + void ShutdownContainersNow(); + + long GetTimeOutToLaunchServerInSecond(); + + void SetTimeOutToLaunchServerInSecond(in long timeInSecond); + + long GetDeltaTimeBetweenNSLookupAtLaunchTimeInMilliSecond(); + + void SetDeltaTimeBetweenNSLookupAtLaunchTimeInMilliSecond(in long timeInMS); + + long GetDeltaTimeBetweenCPUMemMeasureInMilliSecond(); + + void SetDeltaTimeBetweenCPUMemMeasureInMilliSecond(in long timeInMS); + + void SetOverrideEnvForContainers(in KeyValDict env); + + KeyValDict GetOverrideEnvForContainers(); + + void SetBigObjOnDiskThreshold(in long thresholdInByte); + + void SetBigObjOnDiskDirectory(in string directory); + + void SetDirectoryForReplayFiles(in string directory); + + void SetNumberOfRetry(in long nbRetry); + + long GetNumberOfRetry(); + + void SetCodeOnContainerStartUp(in string code); + + string GetCodeOnContainerStartUp(); } ; };