Package com.almworks.sqlite4java

Examples of com.almworks.sqlite4java.SQLiteConnection.interrupt()


                 * http://almworks.com/sqlite4java/javadoc/com/almworks/sqlite4java/SQLiteConnection.html#interrupt()
                 * SQLite docs: http://www.sqlite.org/c3ref/interrupt.html
                 */
                log.info("Long running query [" + queryAndTime.query + "] ran for more than ["
                    + timeout + "] ms. Interrupting it!");
                conn.interrupt();
              } catch(SQLiteException e) {
                //
              } finally {
                queryAndTime.query = null;
                queryAndTime.time = -1l; // connection will not be considered until a new query is executed
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.