public class SqlExecuteTimeCountInterceptor extends Object implements org.apache.ibatis.plugin.Interceptor
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
SqlExecuteTimeCountInterceptor(org.springframework.boot.autoconfigure.session.SessionProperties sessionProperties,
org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory,
boolean isEnableDebug) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
getDebugEnabled() |
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation,
Method saveQueueMethod) |
Object |
plugin(Object target) |
void |
setDebugClassName(Map<String,String> debugClassName) |
static void |
setDebugEnabled(boolean debugEnabled) |
void |
setProperties(Properties properties) |
public SqlExecuteTimeCountInterceptor(org.springframework.boot.autoconfigure.session.SessionProperties sessionProperties,
org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory,
boolean isEnableDebug)
public static void setDebugEnabled(boolean debugEnabled)
public static boolean getDebugEnabled()
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept 在接口中 org.apache.ibatis.plugin.InterceptorThrowablepublic Object intercept(org.apache.ibatis.plugin.Invocation invocation, Method saveQueueMethod) throws Throwable
Throwablepublic void setProperties(Properties properties)
setProperties 在接口中 org.apache.ibatis.plugin.InterceptorCopyright © 2023. All rights reserved.