Class ConnectorExecutionTimeLogger
java.lang.Object
org.bonitasoft.engine.core.connector.impl.ConnectorExecutionTimeLogger
Log connector execution time when the connector took more than the configured threshold
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlog(long processDefinitionId, SConnectorInstance sConnectorInstance, org.bonitasoft.engine.connector.Connector connector, Map<String, Object> inputParameters, long executionTimeMillis)
-
Constructor Details
-
ConnectorExecutionTimeLogger
- Parameters:
warnWhenLongerThanMillis- the duration in milli seconds above which the time taken will be logged as a warning
-
-
Method Details
-
log
public void log(long processDefinitionId, SConnectorInstance sConnectorInstance, org.bonitasoft.engine.connector.Connector connector, Map<String, Object> inputParameters, long executionTimeMillis)
-