Class SlowSQLLogger

    • Constructor Detail

      • SlowSQLLogger

        public SlowSQLLogger​(long threshold,
                             TimeUnit unit)
      • SlowSQLLogger

        public SlowSQLLogger()
    • Method Detail

      • getThreshold

        public long getThreshold()
      • setThreshold

        public void setThreshold​(long threshold)
      • sqlTrace

        public void sqlTrace​(SQLTraceRecord record)
        Description copied from interface: SQLTraceListener
        Notify listeners with SQL trace information.
        Specified by:
        sqlTrace in interface SQLTraceListener
        Parameters:
        record - SQLTraceRecord that has information related to the SQL operation