Package SQLite

Interface BusyHandler

All Known Implementing Classes:
JDBCConnection

public interface BusyHandler
Callback interface for SQLite's user defined busy handler.
  • Method Summary

    Modifier and Type Method Description
    boolean busy​(String table, int count)
    Invoked when a table is locked by another process or thread.
  • Method Details

    • busy

      boolean busy​(String table, int count)
      Invoked when a table is locked by another process or thread. The method should return true for waiting until the table becomes unlocked, or false in order to abandon the action.

      Parameters:
      table - the name of the locked table
      count - number of times the table was locked