Package com.powsybl.computation
Interface ComputationParameters
- All Superinterfaces:
Extendable<ComputationParameters>
- All Known Implementing Classes:
ComputationParametersImpl
- Author:
- Yichen TANG <yichen.tang at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComputationParameters
empty()
getDeadline
(String commandId) Returns an optional describing the total time limit in seconds, the waiting time in queue is included.getTimeout
(String commandId) Returns an optional describing the execution time limit in seconds, the waiting time in queue is not included.Methods inherited from interface com.powsybl.commons.extensions.Extendable
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
-
Method Details
-
getTimeout
Returns an optional describing the execution time limit in seconds, the waiting time in queue is not included. See differences withgetDeadline(String)
- Parameters:
commandId
- id ofCommand
- Returns:
- an optional describing seconds
-
getDeadline
Returns an optional describing the total time limit in seconds, the waiting time in queue is included. See differences withgetTimeout(String)
- Parameters:
commandId
- id ofCommand
- Returns:
- an optional describing seconds
-
empty
- Returns:
- an empty
ComputationParameters
, but it supports plugin. See moreExtension
-