@Service public class LogPersistenceServiceImpl extends Object implements LogPersistenceService
Constructor and Description |
---|
LogPersistenceServiceImpl(LogDAO logDAO,
WorkflowExecutionDAO workflowExecutionDAO,
ScenarioExecutionDAO scenarioExecutionDAO,
PruneService pruneService,
ErrorMetadataDAO errorMetadataDAO,
ErrorDefinitionDAO errorDefinitionDAO,
ConnectionsDAO connectionsDAO)
Service handling business logic for logs
|
Modifier and Type | Method and Description |
---|---|
void |
persistDebugLog(DebugLog debugLog)
Persists a parsed debug log.
|
void |
persistErrorLog(ErrorLog errorLog)
Persists a parsed error log.
|
@Autowired public LogPersistenceServiceImpl(LogDAO logDAO, WorkflowExecutionDAO workflowExecutionDAO, ScenarioExecutionDAO scenarioExecutionDAO, PruneService pruneService, ErrorMetadataDAO errorMetadataDAO, ErrorDefinitionDAO errorDefinitionDAO, ConnectionsDAO connectionsDAO)
logDAO
- log DAOworkflowExecutionDAO
- workflow DAOscenarioExecutionDAO
- scenario executions DAOpruneService
- service for scheduling log pruningconnectionsDAO
- connections DAOerrorDefinitionDAO
- error definitions DAOerrorMetadataDAO
- error metadata DAO@Transactional public void persistErrorLog(ErrorLog errorLog)
LogPersistenceService
persistErrorLog
in interface LogPersistenceService
errorLog
- error log to be persisted.@Transactional public void persistDebugLog(DebugLog debugLog)
LogPersistenceService
persistDebugLog
in interface LogPersistenceService
debugLog
- debug log to be persisted.Copyright © 2020. All rights reserved.