|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.db.internal.domain.logger.DefaultQueryLoggerFactory
public class DefaultQueryLoggerFactory
Creates query loggers with different implementations depending on whether a given Log
has the debug level enabled or not
| Constructor Summary | |
|---|---|
DefaultQueryLoggerFactory()
|
|
| Method Summary | |
|---|---|
BulkQueryLogger |
createBulkQueryLogger(org.apache.commons.logging.Log logger)
Creates a logger for a bulk query |
PreparedBulkQueryLogger |
createBulkQueryLogger(org.apache.commons.logging.Log logger,
QueryTemplate queryTemplate,
int bulkSize)
Creates a logger for a single query running in bulk mode |
SingleQueryLogger |
createQueryLogger(org.apache.commons.logging.Log logger,
QueryTemplate queryTemplate)
Creates a logger for a single query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultQueryLoggerFactory()
| Method Detail |
|---|
public SingleQueryLogger createQueryLogger(org.apache.commons.logging.Log logger,
QueryTemplate queryTemplate)
QueryLoggerFactory
createQueryLogger in interface QueryLoggerFactorylogger - logger where the query will be loggedqueryTemplate - query tepmlate to log
SingleQueryLogger
public PreparedBulkQueryLogger createBulkQueryLogger(org.apache.commons.logging.Log logger,
QueryTemplate queryTemplate,
int bulkSize)
QueryLoggerFactory
createBulkQueryLogger in interface QueryLoggerFactorylogger - logger where the query will be loggedqueryTemplate - query tepmlate to logbulkSize - total size of the bulk operation. Must be positive
PreparedBulkQueryLoggerpublic BulkQueryLogger createBulkQueryLogger(org.apache.commons.logging.Log logger)
QueryLoggerFactory
createBulkQueryLogger in interface QueryLoggerFactorylogger - logger where the query will be logged
BulkQueryLogger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||