Implemented interface for detecting execution time for each sql query