public class ConnectorExecutionTimeLogger
extends java.lang.Object
| Constructor and Description |
|---|
ConnectorExecutionTimeLogger(TechnicalLoggerService technicalLoggerService,
java.lang.Long warnWhenLongerThanMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
log(long processDefinitionId,
SConnectorInstance sConnectorInstance,
org.bonitasoft.engine.connector.Connector connector,
java.util.Map<java.lang.String,java.lang.Object> inputParameters,
long executionTimeMillis) |
public ConnectorExecutionTimeLogger(TechnicalLoggerService technicalLoggerService, java.lang.Long warnWhenLongerThanMillis)
technicalLoggerService - the technical loggerwarnWhenLongerThanMillis - the duration in milli seconds above which the time taken will be logged as a
warningpublic void log(long processDefinitionId,
SConnectorInstance sConnectorInstance,
org.bonitasoft.engine.connector.Connector connector,
java.util.Map<java.lang.String,java.lang.Object> inputParameters,
long executionTimeMillis)