Package com.powsybl.security.distributed
Class DistributedSecurityAnalysisExecution
java.lang.Object
com.powsybl.security.distributed.AbstractDistributedSecurityAnalysisExecution
com.powsybl.security.distributed.DistributedSecurityAnalysisExecution
- All Implemented Interfaces:
SecurityAnalysisExecution
public class DistributedSecurityAnalysisExecution
extends AbstractDistributedSecurityAnalysisExecution
implements SecurityAnalysisExecution
Execute a security analysis by spawning a specified number of subtasks, each of which
will consist of a separate call to itools security-analysis through the specified
ComputationManager
.- Author:
- Sylvain Leclerc <sylvain.leclerc at rte-france.com>
-
Field Summary
Fields inherited from class com.powsybl.security.distributed.AbstractDistributedSecurityAnalysisExecution
config, subtaskCount
-
Constructor Summary
ConstructorDescriptionDistributedSecurityAnalysisExecution
(ExternalSecurityAnalysisConfig config, int subtaskCount) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ComputationManager computationManager, SecurityAnalysisExecutionInput data)
-
Constructor Details
-
DistributedSecurityAnalysisExecution
public DistributedSecurityAnalysisExecution(ExternalSecurityAnalysisConfig config, int subtaskCount)
-
-
Method Details
-
execute
public CompletableFuture<SecurityAnalysisReport> execute(ComputationManager computationManager, SecurityAnalysisExecutionInput data) - Specified by:
execute
in interfaceSecurityAnalysisExecution
-