类 LogFilter
java.lang.Object
javax.management.NotificationBroadcasterSupport
com.alibaba.druid.filter.FilterAdapter
com.alibaba.druid.filter.FilterEventAdapter
com.alibaba.druid.filter.logging.LogFilter
- 所有已实现的接口:
Filter,LogFilterMBean,Wrapper,NotificationBroadcaster,NotificationEmitter
- 直接已知子类:
CommonsLogFilter,Log4j2Filter,Log4jFilter,Slf4jLogFilter
- 作者:
- wenshao [szujobs@hotmail.com]
-
字段概要
字段修饰符和类型字段说明protected Stringprotected DataSourceProxyprotected Stringprotected Stringprotected String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Map<String, Class<?>> map) callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Map<String, Class<?>> map) voidconfigFromProperties(Properties properties) voidconnection_close(FilterChain chain, ConnectionProxy connection) voidconnection_commit(FilterChain chain, ConnectionProxy connection) voidconnection_connectAfter(ConnectionProxy connection) voidconnection_rollback(FilterChain chain, ConnectionProxy connection) voidconnection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savePoint) voidconnection_setAutoCommit(FilterChain chain, ConnectionProxy connection, boolean autoCommit) connection_setSavepoint(FilterChain chain, ConnectionProxy connection) connection_setSavepoint(FilterChain chain, ConnectionProxy connection, String name) protected abstract voidconnectionLog(String message) dataSource_getConnection(FilterChain chain, DruidDataSource dataSource, long maxWaitMillis) voiddataSource_releaseConnection(FilterChain chain, DruidPooledConnection conn) voidinit(DataSourceProxy dataSource) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisWrapperFor(Class<?> iface) protected voidlogParameter(PreparedStatementProxy statement) voidpreparedStatement_clearParameters(FilterChain chain, PreparedStatementProxy statement) voidresultSet_close(FilterChain chain, ResultSetProxy resultSet) booleanresultSet_next(FilterChain chain, ResultSetProxy resultSet) protected abstract voidresultSetLog(String message) protected abstract voidresultSetLogError(String message, Throwable error) protected voidresultSetOpenAfter(ResultSetProxy resultSet) protected StringsavepointToString(Savepoint savePoint) voidsetConnectionCloseAfterLogEnabled(boolean afterConnectionCloseLogEnable) voidsetConnectionCommitAfterLogEnabled(boolean afterConnectionCommitLogEnable) voidsetConnectionConnectAfterLogEnabled(boolean afterConnectionConnectLogEnable) voidsetConnectionConnectBeforeLogEnabled(boolean beforeConnectionConnectLogEnable) voidsetConnectionLogEnabled(boolean connectionLogEnabled) voidsetConnectionLogErrorEnabled(boolean connectionLogErrorEnabled) voidsetConnectionRollbackAfterLogEnabled(boolean connectionRollbackAfterLogEnable) voidsetDataSourceLogEnabled(boolean dataSourceLogEnabled) voidsetResultSetCloseAfterLogEnabled(boolean resultSetCloseAfterLogEnable) voidsetResultSetLogEnabled(boolean resultSetLogEnabled) voidsetResultSetLogErrorEnabled(boolean resultSetLogErrorEnabled) voidsetResultSetNextAfterLogEnabled(boolean afterResultSetNextLogEnable) voidsetResultSetOpenAfterLogEnabled(boolean afterResultSetOpenLogEnable) voidsetStatementCloseAfterLogEnabled(boolean afterStatementCloseLogEnable) voidsetStatementCreateAfterLogEnabled(boolean afterStatementCreateLogEnable) voidsetStatementExecutableSqlLogEnable(boolean statementExecutableSqlLogEnable) voidsetStatementExecuteAfterLogEnabled(boolean afterStatementExecuteLogEnable) voidsetStatementExecuteBatchAfterLogEnabled(boolean afterStatementExecuteBatchLogEnable) voidsetStatementExecuteQueryAfterLogEnabled(boolean afterStatementExecuteQueryLogEnable) voidsetStatementExecuteUpdateAfterLogEnabled(boolean afterStatementExecuteUpdateLogEnable) voidsetStatementLogEnabled(boolean statementLogEnabled) voidsetStatementLogErrorEnabled(boolean statementLogErrorEnabled) voidsetStatementParameterClearLogEnable(boolean statementParameterClearLogEnable) voidsetStatementParameterSetLogEnabled(boolean statementParameterSetLogEnable) voidsetStatementPrepareAfterLogEnabled(boolean afterStatementPrepareLogEnable) voidsetStatementPrepareCallAfterLogEnabled(boolean afterStatementPrepareCallLogEnable) voidsetStatementSqlFormatOption(SQLUtils.FormatOption formatOption) voidsetStatementSqlPrettyFormat(boolean statementSqlPrettyFormat) voidstatement_clearBatch(FilterChain chain, StatementProxy statement) voidstatement_close(FilterChain chain, StatementProxy statement) protected voidstatement_executeErrorAfter(StatementProxy statement, String sql, Throwable error) protected voidstatementCreateAfter(StatementProxy statement) protected voidstatementExecuteAfter(StatementProxy statement, String sql, boolean firstResult) protected voidstatementExecuteBatchAfter(StatementProxy statement, int[] result) protected voidstatementExecuteBatchBefore(StatementProxy statement) protected voidstatementExecuteBefore(StatementProxy statement, String sql) protected voidstatementExecuteQueryAfter(StatementProxy statement, String sql, ResultSetProxy resultSet) protected voidstatementExecuteQueryBefore(StatementProxy statement, String sql) protected voidstatementExecuteUpdateAfter(StatementProxy statement, String sql, int updateCount) protected voidstatementExecuteUpdateBefore(StatementProxy statement, String sql) protected abstract voidstatementLog(String message) protected abstract voidstatementLogError(String message, Throwable error) protected voidstatementPrepareAfter(PreparedStatementProxy statement) protected voidstatementPrepareCallAfter(CallableStatementProxy statement) <T> T从类继承的方法 com.alibaba.druid.filter.FilterEventAdapter
connection_connect, connection_connectBefore, connection_createStatement, connection_createStatement, connection_createStatement, connection_prepareCall, connection_prepareCall, connection_prepareCall, connection_prepareStatement, connection_prepareStatement, connection_prepareStatement, connection_prepareStatement, connection_prepareStatement, connection_prepareStatement, preparedStatement_execute, preparedStatement_executeQuery, preparedStatement_executeUpdate, statement_execute, statement_execute, statement_execute, statement_execute, statement_executeBatch, statement_executeQuery, statement_executeUpdate, statement_executeUpdate, statement_executeUpdate, statement_executeUpdate, statement_getGeneratedKeys, statement_getResultSet从类继承的方法 com.alibaba.druid.filter.FilterAdapter
callableStatement_getArray, callableStatement_getArray, callableStatement_getBigDecimal, callableStatement_getBigDecimal, callableStatement_getBigDecimal, callableStatement_getBlob, callableStatement_getBlob, callableStatement_getBoolean, callableStatement_getBoolean, callableStatement_getByte, callableStatement_getByte, callableStatement_getBytes, callableStatement_getBytes, callableStatement_getCharacterStream, callableStatement_getCharacterStream, callableStatement_getClob, callableStatement_getClob, callableStatement_getDate, callableStatement_getDate, callableStatement_getDate, callableStatement_getDate, callableStatement_getDouble, callableStatement_getDouble, callableStatement_getFloat, callableStatement_getFloat, callableStatement_getInt, callableStatement_getInt, callableStatement_getLong, callableStatement_getLong, callableStatement_getNCharacterStream, callableStatement_getNCharacterStream, callableStatement_getNClob, callableStatement_getNClob, callableStatement_getNString, callableStatement_getNString, callableStatement_getRef, callableStatement_getRef, callableStatement_getRowId, callableStatement_getRowId, callableStatement_getShort, callableStatement_getShort, callableStatement_getSQLXML, callableStatement_getSQLXML, callableStatement_getString, callableStatement_getString, callableStatement_getTime, callableStatement_getTime, callableStatement_getTime, callableStatement_getTime, callableStatement_getTimestamp, callableStatement_getTimestamp, callableStatement_getTimestamp, callableStatement_getTimestamp, callableStatement_getURL, callableStatement_getURL, callableStatement_registerOutParameter, callableStatement_registerOutParameter, callableStatement_registerOutParameter, callableStatement_registerOutParameter, callableStatement_registerOutParameter, callableStatement_registerOutParameter, callableStatement_setAsciiStream, callableStatement_setAsciiStream, callableStatement_setAsciiStream, callableStatement_setBigDecimal, callableStatement_setBinaryStream, callableStatement_setBinaryStream, callableStatement_setBinaryStream, callableStatement_setBlob, callableStatement_setBlob, callableStatement_setBlob, callableStatement_setBoolean, callableStatement_setByte, callableStatement_setBytes, callableStatement_setCharacterStream, callableStatement_setCharacterStream, callableStatement_setCharacterStream, callableStatement_setClob, callableStatement_setClob, callableStatement_setClob, callableStatement_setDate, callableStatement_setDate, callableStatement_setDouble, callableStatement_setFloat, callableStatement_setInt, callableStatement_setLong, callableStatement_setNCharacterStream, callableStatement_setNCharacterStream, callableStatement_setNClob, callableStatement_setNClob, callableStatement_setNClob, callableStatement_setNString, callableStatement_setNull, callableStatement_setNull, callableStatement_setObject, callableStatement_setObject, callableStatement_setObject, callableStatement_setRowId, callableStatement_setShort, callableStatement_setSQLXML, callableStatement_setString, callableStatement_setTime, callableStatement_setTime, callableStatement_setTimestamp, callableStatement_setTimestamp, callableStatement_setURL, callableStatement_wasNull, clob_free, clob_getAsciiStream, clob_getCharacterStream, clob_getCharacterStream, clob_getSubString, clob_length, clob_position, clob_position, clob_setAsciiStream, clob_setCharacterStream, clob_setString, clob_setString, clob_truncate, connection_abort, connection_clearWarnings, connection_createArrayOf, connection_createBlob, connection_createClob, connection_createNClob, connection_createSQLXML, connection_createStruct, connection_getAutoCommit, connection_getCatalog, connection_getClientInfo, connection_getClientInfo, connection_getHoldability, connection_getMetaData, connection_getNetworkTimeout, connection_getSchema, connection_getTransactionIsolation, connection_getTypeMap, connection_getWarnings, connection_isClosed, connection_isReadOnly, connection_isValid, connection_nativeSQL, connection_releaseSavepoint, connection_setCatalog, connection_setClientInfo, connection_setClientInfo, connection_setHoldability, connection_setNetworkTimeout, connection_setReadOnly, connection_setSchema, connection_setTransactionIsolation, connection_setTypeMap, destroy, isWrapperFor, preparedStatement_addBatch, preparedStatement_getMetaData, preparedStatement_getParameterMetaData, preparedStatement_setArray, preparedStatement_setAsciiStream, preparedStatement_setAsciiStream, preparedStatement_setAsciiStream, preparedStatement_setBigDecimal, preparedStatement_setBinaryStream, preparedStatement_setBinaryStream, preparedStatement_setBinaryStream, preparedStatement_setBlob, preparedStatement_setBlob, preparedStatement_setBlob, preparedStatement_setBoolean, preparedStatement_setByte, preparedStatement_setBytes, preparedStatement_setCharacterStream, preparedStatement_setCharacterStream, preparedStatement_setCharacterStream, preparedStatement_setClob, preparedStatement_setClob, preparedStatement_setClob, preparedStatement_setDate, preparedStatement_setDate, preparedStatement_setDouble, preparedStatement_setFloat, preparedStatement_setInt, preparedStatement_setLong, preparedStatement_setNCharacterStream, preparedStatement_setNCharacterStream, preparedStatement_setNClob, preparedStatement_setNClob, preparedStatement_setNClob, preparedStatement_setNString, preparedStatement_setNull, preparedStatement_setNull, preparedStatement_setObject, preparedStatement_setObject, preparedStatement_setObject, preparedStatement_setRef, preparedStatement_setRowId, preparedStatement_setShort, preparedStatement_setSQLXML, preparedStatement_setString, preparedStatement_setTime, preparedStatement_setTime, preparedStatement_setTimestamp, preparedStatement_setTimestamp, preparedStatement_setUnicodeStream, preparedStatement_setURL, resultSet_absolute, resultSet_afterLast, resultSet_beforeFirst, resultSet_cancelRowUpdates, resultSet_clearWarnings, resultSet_deleteRow, resultSet_findColumn, resultSet_first, resultSet_getArray, resultSet_getArray, resultSet_getAsciiStream, resultSet_getAsciiStream, resultSet_getBigDecimal, resultSet_getBigDecimal, resultSet_getBigDecimal, resultSet_getBigDecimal, resultSet_getBinaryStream, resultSet_getBinaryStream, resultSet_getBlob, resultSet_getBlob, resultSet_getBoolean, resultSet_getBoolean, resultSet_getByte, resultSet_getByte, resultSet_getBytes, resultSet_getBytes, resultSet_getCharacterStream, resultSet_getCharacterStream, resultSet_getClob, resultSet_getClob, resultSet_getConcurrency, resultSet_getCursorName, resultSet_getDate, resultSet_getDate, resultSet_getDate, resultSet_getDate, resultSet_getDouble, resultSet_getDouble, resultSet_getFetchDirection, resultSet_getFetchSize, resultSet_getFloat, resultSet_getFloat, resultSet_getHoldability, resultSet_getInt, resultSet_getInt, resultSet_getLong, resultSet_getLong, resultSet_getMetaData, resultSet_getNCharacterStream, resultSet_getNCharacterStream, resultSet_getNClob, resultSet_getNClob, resultSet_getNString, resultSet_getNString, resultSet_getObject, resultSet_getObject, resultSet_getObject, resultSet_getObject, resultSet_getObject, resultSet_getObject, resultSet_getRef, resultSet_getRef, resultSet_getRow, resultSet_getRowId, resultSet_getRowId, resultSet_getShort, resultSet_getShort, resultSet_getSQLXML, resultSet_getSQLXML, resultSet_getStatement, resultSet_getString, resultSet_getString, resultSet_getTime, resultSet_getTime, resultSet_getTime, resultSet_getTime, resultSet_getTimestamp, resultSet_getTimestamp, resultSet_getTimestamp, resultSet_getTimestamp, resultSet_getType, resultSet_getUnicodeStream, resultSet_getUnicodeStream, resultSet_getURL, resultSet_getURL, resultSet_getWarnings, resultSet_insertRow, resultSet_isAfterLast, resultSet_isBeforeFirst, resultSet_isClosed, resultSet_isFirst, resultSet_isLast, resultSet_last, resultSet_moveToCurrentRow, resultSet_moveToInsertRow, resultSet_previous, resultSet_refreshRow, resultSet_relative, resultSet_rowDeleted, resultSet_rowInserted, resultSet_rowUpdated, resultSet_setFetchDirection, resultSet_setFetchSize, resultSet_updateArray, resultSet_updateArray, resultSet_updateAsciiStream, resultSet_updateAsciiStream, resultSet_updateAsciiStream, resultSet_updateAsciiStream, resultSet_updateAsciiStream, resultSet_updateAsciiStream, resultSet_updateBigDecimal, resultSet_updateBigDecimal, resultSet_updateBinaryStream, resultSet_updateBinaryStream, resultSet_updateBinaryStream, resultSet_updateBinaryStream, resultSet_updateBinaryStream, resultSet_updateBinaryStream, resultSet_updateBlob, resultSet_updateBlob, resultSet_updateBlob, resultSet_updateBlob, resultSet_updateBlob, resultSet_updateBlob, resultSet_updateBoolean, resultSet_updateBoolean, resultSet_updateByte, resultSet_updateByte, resultSet_updateBytes, resultSet_updateBytes, resultSet_updateCharacterStream, resultSet_updateCharacterStream, resultSet_updateCharacterStream, resultSet_updateCharacterStream, resultSet_updateCharacterStream, resultSet_updateCharacterStream, resultSet_updateClob, resultSet_updateClob, resultSet_updateClob, resultSet_updateClob, resultSet_updateClob, resultSet_updateClob, resultSet_updateDate, resultSet_updateDate, resultSet_updateDouble, resultSet_updateDouble, resultSet_updateFloat, resultSet_updateFloat, resultSet_updateInt, resultSet_updateInt, resultSet_updateLong, resultSet_updateLong, resultSet_updateNCharacterStream, resultSet_updateNCharacterStream, resultSet_updateNCharacterStream, resultSet_updateNCharacterStream, resultSet_updateNClob, resultSet_updateNClob, resultSet_updateNClob, resultSet_updateNClob, resultSet_updateNClob, resultSet_updateNClob, resultSet_updateNString, resultSet_updateNString, resultSet_updateNull, resultSet_updateNull, resultSet_updateObject, resultSet_updateObject, resultSet_updateObject, resultSet_updateObject, resultSet_updateRef, resultSet_updateRef, resultSet_updateRow, resultSet_updateRowId, resultSet_updateRowId, resultSet_updateShort, resultSet_updateShort, resultSet_updateSQLXML, resultSet_updateSQLXML, resultSet_updateString, resultSet_updateString, resultSet_updateTime, resultSet_updateTime, resultSet_updateTimestamp, resultSet_updateTimestamp, resultSet_wasNull, resultSetMetaData_getCatalogName, resultSetMetaData_getColumnClassName, resultSetMetaData_getColumnCount, resultSetMetaData_getColumnDisplaySize, resultSetMetaData_getColumnLabel, resultSetMetaData_getColumnName, resultSetMetaData_getColumnType, resultSetMetaData_getColumnTypeName, resultSetMetaData_getPrecision, resultSetMetaData_getScale, resultSetMetaData_getSchemaName, resultSetMetaData_getTableName, resultSetMetaData_isAutoIncrement, resultSetMetaData_isCaseSensitive, resultSetMetaData_isCurrency, resultSetMetaData_isDefinitelyWritable, resultSetMetaData_isNullable, resultSetMetaData_isReadOnly, resultSetMetaData_isSearchable, resultSetMetaData_isSigned, resultSetMetaData_isWritable, statement_addBatch, statement_cancel, statement_clearWarnings, statement_getConnection, statement_getFetchDirection, statement_getFetchSize, statement_getMaxFieldSize, statement_getMaxRows, statement_getMoreResults, statement_getMoreResults, statement_getQueryTimeout, statement_getResultSetConcurrency, statement_getResultSetHoldability, statement_getResultSetType, statement_getUpdateCount, statement_getWarnings, statement_isClosed, statement_isPoolable, statement_setCursorName, statement_setEscapeProcessing, statement_setFetchDirection, statement_setFetchSize, statement_setMaxFieldSize, statement_setMaxRows, statement_setPoolable, statement_setQueryTimeout, unwrap从类继承的方法 javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.druid.filter.logging.LogFilterMBean
getConnectionLoggerName, getDataSourceLoggerName, getResultSetLoggerName, getStatementLoggerName, setConnectionLoggerName, setDataSourceLoggerName, setResultSetLoggerName, setStatementLoggerName
-
字段详细资料
-
dataSourceLoggerName
-
connectionLoggerName
-
statementLoggerName
-
resultSetLoggerName
-
dataSource
-
-
构造器详细资料
-
LogFilter
public LogFilter() -
LogFilter
-
-
方法详细资料
-
configFromProperties
- 指定者:
configFromProperties在接口中Filter- 覆盖:
configFromProperties在类中FilterAdapter
-
init
- 指定者:
init在接口中Filter- 覆盖:
init在类中FilterAdapter
-
isConnectionLogErrorEnabled
public boolean isConnectionLogErrorEnabled()- 指定者:
isConnectionLogErrorEnabled在接口中LogFilterMBean
-
isResultSetCloseAfterLogEnabled
public boolean isResultSetCloseAfterLogEnabled() -
setResultSetCloseAfterLogEnabled
public void setResultSetCloseAfterLogEnabled(boolean resultSetCloseAfterLogEnable) -
setConnectionLogErrorEnabled
public void setConnectionLogErrorEnabled(boolean connectionLogErrorEnabled) - 指定者:
setConnectionLogErrorEnabled在接口中LogFilterMBean
-
isResultSetLogErrorEnabled
public boolean isResultSetLogErrorEnabled()- 指定者:
isResultSetLogErrorEnabled在接口中LogFilterMBean
-
setResultSetLogErrorEnabled
public void setResultSetLogErrorEnabled(boolean resultSetLogErrorEnabled) - 指定者:
setResultSetLogErrorEnabled在接口中LogFilterMBean
-
isConnectionConnectBeforeLogEnabled
public boolean isConnectionConnectBeforeLogEnabled() -
setConnectionConnectBeforeLogEnabled
public void setConnectionConnectBeforeLogEnabled(boolean beforeConnectionConnectLogEnable) -
isConnectionCloseAfterLogEnabled
public boolean isConnectionCloseAfterLogEnabled() -
isConnectionRollbackAfterLogEnabled
public boolean isConnectionRollbackAfterLogEnabled() -
setConnectionRollbackAfterLogEnabled
public void setConnectionRollbackAfterLogEnabled(boolean connectionRollbackAfterLogEnable) -
setConnectionCloseAfterLogEnabled
public void setConnectionCloseAfterLogEnabled(boolean afterConnectionCloseLogEnable) -
isConnectionCommitAfterLogEnabled
public boolean isConnectionCommitAfterLogEnabled() -
setConnectionCommitAfterLogEnabled
public void setConnectionCommitAfterLogEnabled(boolean afterConnectionCommitLogEnable) -
isConnectionConnectAfterLogEnabled
public boolean isConnectionConnectAfterLogEnabled() -
setConnectionConnectAfterLogEnabled
public void setConnectionConnectAfterLogEnabled(boolean afterConnectionConnectLogEnable) -
isResultSetNextAfterLogEnabled
public boolean isResultSetNextAfterLogEnabled()- 指定者:
isResultSetNextAfterLogEnabled在接口中LogFilterMBean
-
setResultSetNextAfterLogEnabled
public void setResultSetNextAfterLogEnabled(boolean afterResultSetNextLogEnable) -
isResultSetOpenAfterLogEnabled
public boolean isResultSetOpenAfterLogEnabled()- 指定者:
isResultSetOpenAfterLogEnabled在接口中LogFilterMBean
-
setResultSetOpenAfterLogEnabled
public void setResultSetOpenAfterLogEnabled(boolean afterResultSetOpenLogEnable) -
isStatementCloseAfterLogEnabled
public boolean isStatementCloseAfterLogEnabled() -
setStatementCloseAfterLogEnabled
public void setStatementCloseAfterLogEnabled(boolean afterStatementCloseLogEnable) -
isStatementCreateAfterLogEnabled
public boolean isStatementCreateAfterLogEnabled() -
setStatementCreateAfterLogEnabled
public void setStatementCreateAfterLogEnabled(boolean afterStatementCreateLogEnable) -
isStatementExecuteBatchAfterLogEnabled
public boolean isStatementExecuteBatchAfterLogEnabled() -
setStatementExecuteBatchAfterLogEnabled
public void setStatementExecuteBatchAfterLogEnabled(boolean afterStatementExecuteBatchLogEnable) -
isStatementExecuteAfterLogEnabled
public boolean isStatementExecuteAfterLogEnabled() -
setStatementExecuteAfterLogEnabled
public void setStatementExecuteAfterLogEnabled(boolean afterStatementExecuteLogEnable) -
isStatementExecuteQueryAfterLogEnabled
public boolean isStatementExecuteQueryAfterLogEnabled() -
setStatementExecuteQueryAfterLogEnabled
public void setStatementExecuteQueryAfterLogEnabled(boolean afterStatementExecuteQueryLogEnable) -
isStatementExecuteUpdateAfterLogEnabled
public boolean isStatementExecuteUpdateAfterLogEnabled() -
setStatementExecuteUpdateAfterLogEnabled
public void setStatementExecuteUpdateAfterLogEnabled(boolean afterStatementExecuteUpdateLogEnable) -
isStatementExecutableSqlLogEnable
public boolean isStatementExecutableSqlLogEnable() -
setStatementExecutableSqlLogEnable
public void setStatementExecutableSqlLogEnable(boolean statementExecutableSqlLogEnable) -
isStatementPrepareCallAfterLogEnabled
public boolean isStatementPrepareCallAfterLogEnabled() -
setStatementPrepareCallAfterLogEnabled
public void setStatementPrepareCallAfterLogEnabled(boolean afterStatementPrepareCallLogEnable) -
isStatementPrepareAfterLogEnabled
public boolean isStatementPrepareAfterLogEnabled() -
setStatementPrepareAfterLogEnabled
public void setStatementPrepareAfterLogEnabled(boolean afterStatementPrepareLogEnable) -
isDataSourceLogEnabled
public boolean isDataSourceLogEnabled()- 指定者:
isDataSourceLogEnabled在接口中LogFilterMBean
-
setDataSourceLogEnabled
public void setDataSourceLogEnabled(boolean dataSourceLogEnabled) - 指定者:
setDataSourceLogEnabled在接口中LogFilterMBean
-
isConnectionLogEnabled
public boolean isConnectionLogEnabled()- 指定者:
isConnectionLogEnabled在接口中LogFilterMBean
-
setConnectionLogEnabled
public void setConnectionLogEnabled(boolean connectionLogEnabled) - 指定者:
setConnectionLogEnabled在接口中LogFilterMBean
-
isStatementLogEnabled
public boolean isStatementLogEnabled()- 指定者:
isStatementLogEnabled在接口中LogFilterMBean
-
setStatementLogEnabled
public void setStatementLogEnabled(boolean statementLogEnabled) - 指定者:
setStatementLogEnabled在接口中LogFilterMBean
-
isStatementLogErrorEnabled
public boolean isStatementLogErrorEnabled()- 指定者:
isStatementLogErrorEnabled在接口中LogFilterMBean
-
setStatementLogErrorEnabled
public void setStatementLogErrorEnabled(boolean statementLogErrorEnabled) - 指定者:
setStatementLogErrorEnabled在接口中LogFilterMBean
-
isResultSetLogEnabled
public boolean isResultSetLogEnabled()- 指定者:
isResultSetLogEnabled在接口中LogFilterMBean
-
setResultSetLogEnabled
public void setResultSetLogEnabled(boolean resultSetLogEnabled) - 指定者:
setResultSetLogEnabled在接口中LogFilterMBean
-
isStatementParameterSetLogEnabled
public boolean isStatementParameterSetLogEnabled() -
setStatementParameterSetLogEnabled
public void setStatementParameterSetLogEnabled(boolean statementParameterSetLogEnable) -
isStatementParameterClearLogEnable
public boolean isStatementParameterClearLogEnable() -
setStatementParameterClearLogEnable
public void setStatementParameterClearLogEnable(boolean statementParameterClearLogEnable) -
getStatementSqlFormatOption
- 指定者:
getStatementSqlFormatOption在接口中LogFilterMBean
-
setStatementSqlFormatOption
- 指定者:
setStatementSqlFormatOption在接口中LogFilterMBean
-
isStatementSqlPrettyFormat
public boolean isStatementSqlPrettyFormat()- 指定者:
isStatementSqlPrettyFormat在接口中LogFilterMBean
-
setStatementSqlPrettyFormat
public void setStatementSqlPrettyFormat(boolean statementSqlPrettyFormat) - 指定者:
setStatementSqlPrettyFormat在接口中LogFilterMBean
-
connectionLog
-
statementLog
-
statementLogError
-
resultSetLog
-
resultSetLogError
-
connection_connectAfter
-
connection_setSavepoint
public Savepoint connection_setSavepoint(FilterChain chain, ConnectionProxy connection) throws SQLException - 指定者:
connection_setSavepoint在接口中Filter- 覆盖:
connection_setSavepoint在类中FilterAdapter- 抛出:
SQLException
-
connection_setSavepoint
public Savepoint connection_setSavepoint(FilterChain chain, ConnectionProxy connection, String name) throws SQLException - 指定者:
connection_setSavepoint在接口中Filter- 覆盖:
connection_setSavepoint在类中FilterAdapter- 抛出:
SQLException
-
connection_rollback
- 指定者:
connection_rollback在接口中Filter- 覆盖:
connection_rollback在类中FilterAdapter- 抛出:
SQLException
-
connection_rollback
public void connection_rollback(FilterChain chain, ConnectionProxy connection, Savepoint savePoint) throws SQLException - 指定者:
connection_rollback在接口中Filter- 覆盖:
connection_rollback在类中FilterAdapter- 抛出:
SQLException
-
connection_commit
- 指定者:
connection_commit在接口中Filter- 覆盖:
connection_commit在类中FilterAdapter- 抛出:
SQLException
-
connection_setAutoCommit
public void connection_setAutoCommit(FilterChain chain, ConnectionProxy connection, boolean autoCommit) throws SQLException - 指定者:
connection_setAutoCommit在接口中Filter- 覆盖:
connection_setAutoCommit在类中FilterAdapter- 抛出:
SQLException
-
connection_close
- 指定者:
connection_close在接口中Filter- 覆盖:
connection_close在类中FilterAdapter- 抛出:
SQLException
-
statement_close
- 指定者:
statement_close在接口中Filter- 覆盖:
statement_close在类中FilterAdapter- 抛出:
SQLException
-
statementExecuteBefore
-
statementExecuteAfter
-
statementExecuteBatchBefore
-
statementExecuteBatchAfter
-
statementExecuteQueryBefore
-
statementExecuteQueryAfter
protected void statementExecuteQueryAfter(StatementProxy statement, String sql, ResultSetProxy resultSet) -
statementExecuteUpdateBefore
-
statementExecuteUpdateAfter
-
resultSet_close
- 指定者:
resultSet_close在接口中Filter- 覆盖:
resultSet_close在类中FilterAdapter- 抛出:
SQLException
-
resultSet_next
- 指定者:
resultSet_next在接口中Filter- 覆盖:
resultSet_next在类中FilterAdapter- 抛出:
SQLException
-
callableStatement_getObject
public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex) throws SQLException - 指定者:
callableStatement_getObject在接口中Filter- 覆盖:
callableStatement_getObject在类中FilterAdapter- 抛出:
SQLException
-
callableStatement_getObject
public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, int parameterIndex, Map<String, Class<?>> map) throws SQLException- 指定者:
callableStatement_getObject在接口中Filter- 覆盖:
callableStatement_getObject在类中FilterAdapter- 抛出:
SQLException
-
callableStatement_getObject
public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName) throws SQLException - 指定者:
callableStatement_getObject在接口中Filter- 覆盖:
callableStatement_getObject在类中FilterAdapter- 抛出:
SQLException
-
callableStatement_getObject
public Object callableStatement_getObject(FilterChain chain, CallableStatementProxy statement, String parameterName, Map<String, Class<?>> map) throws SQLException- 指定者:
callableStatement_getObject在接口中Filter- 覆盖:
callableStatement_getObject在类中FilterAdapter- 抛出:
SQLException
-
resultSetOpenAfter
- 覆盖:
resultSetOpenAfter在类中FilterEventAdapter
-
statementCreateAfter
-
statementPrepareAfter
-
statementPrepareCallAfter
-
statement_executeErrorAfter
-
logParameter
-
dataSource_releaseConnection
public void dataSource_releaseConnection(FilterChain chain, DruidPooledConnection conn) throws SQLException - 指定者:
dataSource_releaseConnection在接口中Filter- 覆盖:
dataSource_releaseConnection在类中FilterAdapter- 抛出:
SQLException
-
dataSource_getConnection
public DruidPooledConnection dataSource_getConnection(FilterChain chain, DruidDataSource dataSource, long maxWaitMillis) throws SQLException - 指定者:
dataSource_getConnection在接口中Filter- 覆盖:
dataSource_getConnection在类中FilterAdapter- 抛出:
SQLException
-
preparedStatement_clearParameters
public void preparedStatement_clearParameters(FilterChain chain, PreparedStatementProxy statement) throws SQLException - 指定者:
preparedStatement_clearParameters在接口中Filter- 覆盖:
preparedStatement_clearParameters在类中FilterAdapter- 抛出:
SQLException
-
statement_clearBatch
- 指定者:
statement_clearBatch在接口中Filter- 覆盖:
statement_clearBatch在类中FilterAdapter- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Filter- 指定者:
isWrapperFor在接口中Wrapper- 覆盖:
isWrapperFor在类中FilterAdapter
-
unwrap
-
savepointToString
-