Class DatabaseLogListener

    • Constructor Detail

      • DatabaseLogListener

        public DatabaseLogListener​(int threshold,
                                   String sql,
                                   PrintStream out)
    • Method Detail

      • getDate

        public Date getDate()
      • getThreshold

        public int getThreshold()
      • getSQL

        public String getSQL()
      • onStatement

        public void onStatement​(String statement,
                                List<Object> parameters,
                                long durationPrepare,
                                long durationExecute,
                                long durationRead,
                                long durationClose)
        Specified by:
        onStatement in interface DatabaseListener