Class ConnectorExecutionTimeLogger

java.lang.Object
org.bonitasoft.engine.core.connector.impl.ConnectorExecutionTimeLogger

public class ConnectorExecutionTimeLogger extends Object
Log connector execution time when the connector took more than the configured threshold
  • Constructor Details

    • ConnectorExecutionTimeLogger

      public ConnectorExecutionTimeLogger(Long warnWhenLongerThanMillis)
      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)