public interface QueryLoggerFactory
QueryLogger
instancesModifier and Type | Method and Description |
---|---|
BulkQueryLogger |
createBulkQueryLogger(Log logger)
Creates a logger for a bulk query
|
PreparedBulkQueryLogger |
createBulkQueryLogger(Log logger,
QueryTemplate queryTemplate,
int bulkSize)
Creates a logger for a single query running in bulk mode
|
SingleQueryLogger |
createQueryLogger(Log logger,
QueryTemplate queryTemplate)
Creates a logger for a single query
|
SingleQueryLogger createQueryLogger(Log logger, QueryTemplate queryTemplate)
logger
- logger where the query will be loggedqueryTemplate
- query tepmlate to logSingleQueryLogger
PreparedBulkQueryLogger createBulkQueryLogger(Log logger, QueryTemplate queryTemplate, int bulkSize)
logger
- logger where the query will be loggedqueryTemplate
- query tepmlate to logbulkSize
- total size of the bulk operation. Must be positivePreparedBulkQueryLogger
BulkQueryLogger createBulkQueryLogger(Log logger)
logger
- logger where the query will be loggedBulkQueryLogger
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.