Package com.powsybl.security.distributed
Class ForwardedSecurityAnalysisExecution
java.lang.Object
com.powsybl.security.distributed.ForwardedSecurityAnalysisExecution
- All Implemented Interfaces:
SecurityAnalysisExecution
Forwards the execution of a security analysis to another itools process.
The
forwardedTaskCount
parameter will be forward to that process, so if it is greater than one,
it will spawn multiple "slave" processes.- Author:
- Sylvain Leclerc <sylvain.leclerc at rte-france.com>
-
Constructor Summary
ConstructorDescriptionForwardedSecurityAnalysisExecution
(ExternalSecurityAnalysisConfig config, Integer forwardedTaskCount) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ComputationManager computationManager, SecurityAnalysisExecutionInput data)
-
Constructor Details
-
ForwardedSecurityAnalysisExecution
-
ForwardedSecurityAnalysisExecution
public ForwardedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config, Integer forwardedTaskCount)
-
-
Method Details
-
execute
public CompletableFuture<SecurityAnalysisReport> execute(ComputationManager computationManager, SecurityAnalysisExecutionInput data) - Specified by:
execute
in interfaceSecurityAnalysisExecution
-