net.ttddyy.dsproxy.support.QueryCountLogEntryCreator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasource-proxy Show documentation
Show all versions of datasource-proxy Show documentation
Provide a datasource proxy that can inject your own logic into all queries.
package net.ttddyy.dsproxy.support;
import net.ttddyy.dsproxy.QueryCount;
/**
* @author Tadaya Tsuyukubo
*/
public interface QueryCountLogEntryCreator {
String getLogMessage(String datasourceName, QueryCount queryCount);
String getLogMessageAsJson(String datasourceName, QueryCount queryCount);
}