Package com.powsybl.security.distributed
Class DistributedSecurityAnalysisExecution
- java.lang.Object
-
- com.powsybl.security.distributed.DistributedSecurityAnalysisExecution
-
- All Implemented Interfaces:
SecurityAnalysisExecution
public class DistributedSecurityAnalysisExecution extends Object implements SecurityAnalysisExecution
Execute a security analysis by spawning a specified number of subtasks, each of which will consist to a separate call to itools security-analysis through the specifiedComputationManager
.- Author:
- Sylvain Leclerc
-
-
Constructor Summary
Constructors Constructor Description DistributedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config, int subtaskCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<SecurityAnalysisReport>
execute(ComputationManager computationManager, SecurityAnalysisExecutionInput data)
-
-
-
Constructor Detail
-
DistributedSecurityAnalysisExecution
public DistributedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config, int subtaskCount)
-
-
Method Detail
-
execute
public CompletableFuture<SecurityAnalysisReport> execute(ComputationManager computationManager, SecurityAnalysisExecutionInput data)
- Specified by:
execute
in interfaceSecurityAnalysisExecution
-
-