Home | History | Annotate | Download | only in SQLite
      1 package SQLite;
      2 
      3 /**
      4  * Callback interface for SQLite's user defined busy handler.
      5  */
      6 
      7 public interface BusyHandler {
      8 
      9     /**
     10      * Invoked when a table is locked by another process
     11      * or thread. The method should return true for waiting
     12      * until the table becomes unlocked, or false in order
     13      * to abandon the action.<BR><BR>
     14      *
     15      * @param table the name of the locked table
     16      * @param count number of times the table was locked
     17      */
     18 
     19     public boolean busy(String table, int count);
     20 }
     21