summaryrefslogtreecommitdiffstats
path: root/sqlite-jdbc/src/main/java/SQLite/Profile.java
blob: 0413fe2a9f44befa9d5443f8a9f2d0cd072721fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package SQLite;

/**
 * Callback interface for SQLite's profile function.
 */

public interface Profile {

    /**
     * Callback to profile (ie log) one SQL statement
     * with its estimated execution time.
     *
     * @param stmt SQL statement string
     * @param est  estimated execution time in milliseconds.
     */

    public void profile(String stmt, long est);
}