public abstract class ProgressHandler extends Object
| Constructor and Description |
|---|
ProgressHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearHandler(Connection conn)
Clears any progress handler registered with the connection.
|
protected abstract int |
progress() |
static void |
setHandler(Connection conn,
int vmCalls,
ProgressHandler progressHandler)
Sets a progress handler for the connection.
|
public static final void setHandler(Connection conn, int vmCalls, ProgressHandler progressHandler) throws SQLException
conn - the SQLite connectionvmCalls - the approximate number of virtual machine instructions that are evaluated between successive invocations of the progressHandlerprogressHandler - the progressHandlerSQLExceptionpublic static final void clearHandler(Connection conn) throws SQLException
conn - the SQLite connectionSQLExceptionprotected abstract int progress()
throws SQLException
SQLExceptionCopyright © 2018. All rights reserved.