Package SQLite
Interface BusyHandler
-
- All Known Implementing Classes:
JDBCConnection
public interface BusyHandlerCallback interface for SQLite's user defined busy handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbusy(String table, int count)Invoked when a table is locked by another process or thread.
-
-
-
Method Detail
-
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 tablecount- number of times the table was locked
-
-