Package com.powsybl.security.distributed
Class ForwardedSecurityAnalysisExecution
- java.lang.Object
-
- com.powsybl.security.distributed.ForwardedSecurityAnalysisExecution
-
- All Implemented Interfaces:
SecurityAnalysisExecution
public class ForwardedSecurityAnalysisExecution extends Object implements SecurityAnalysisExecution
Forwards the execution of a security analysis to another itools process. TheforwardedTaskCount
parameter will be forward to that process, so if it is greater than one, it will spawn multiple "slave" processes.- Author:
- Sylvain Leclerc
-
-
Constructor Summary
Constructors Constructor Description ForwardedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config)
ForwardedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config, Integer forwardedTaskCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<SecurityAnalysisReport>
execute(ComputationManager computationManager, SecurityAnalysisExecutionInput data)
-
-
-
Constructor Detail
-
ForwardedSecurityAnalysisExecution
public ForwardedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config)
-
ForwardedSecurityAnalysisExecution
public ForwardedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config, Integer forwardedTaskCount)
-
-
Method Detail
-
execute
public CompletableFuture<SecurityAnalysisReport> execute(ComputationManager computationManager, SecurityAnalysisExecutionInput data)
- Specified by:
execute
in interfaceSecurityAnalysisExecution
-
-