org.sqlite.event
Class BusyHandler

java.lang.Object
  extended by org.sqlite.callback.Callback
      extended by org.sqlite.event.BusyHandler

public abstract class BusyHandler
extends Callback

SQLITE_BUSY Error Handler class.

See Also:
Register A Callback To Handle SQLITE_BUSY Errors, JdbcConnection.setBusyHandler(BusyHandler), JdbcConnection.clearBusyHandler()

Constructor Summary
BusyHandler()
           
 
Method Summary
protected abstract  int xBusy(int count)
          Called from the sqlite3_step() function.
 
Methods inherited from class org.sqlite.callback.Callback
isRegistered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusyHandler

public BusyHandler()
Method Detail

xBusy

protected abstract int xBusy(int count)
Called from the sqlite3_step() function.

Parameters:
count - the number of times that the busy handler has been invoked for this locking event.
Returns:
non-zero if the operation is continued. 0 if the operation is interrupted.