Class ConnectorExecutionTimeLogger
- java.lang.Object
-
- org.bonitasoft.engine.core.connector.impl.ConnectorExecutionTimeLogger
-
public class ConnectorExecutionTimeLogger extends java.lang.ObjectLog connector execution time when the connector took more than the configured threshold
-
-
Constructor Summary
Constructors Constructor Description ConnectorExecutionTimeLogger(TechnicalLoggerService technicalLoggerService, java.lang.Long warnWhenLongerThanMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlog(long processDefinitionId, SConnectorInstance sConnectorInstance, org.bonitasoft.engine.connector.Connector connector, java.util.Map<java.lang.String,java.lang.Object> inputParameters, long executionTimeMillis)
-
-
-
Constructor Detail
-
ConnectorExecutionTimeLogger
public ConnectorExecutionTimeLogger(TechnicalLoggerService technicalLoggerService, java.lang.Long warnWhenLongerThanMillis)
- Parameters:
technicalLoggerService- the technical loggerwarnWhenLongerThanMillis- the duration in milli seconds above which the time taken will be logged as a warning
-
-
Method Detail
-
log
public void log(long processDefinitionId, SConnectorInstance sConnectorInstance, org.bonitasoft.engine.connector.Connector connector, java.util.Map<java.lang.String,java.lang.Object> inputParameters, long executionTimeMillis)
-
-