Busy handler interface.
Busy handler are used to implement some behavior on database locking if database is locked already by other thread or process. To method call() is passed number of retry to obtain database lock. If call() returns true then retries to locking still continue. If call() returns false then will be thrown {@link SqlJetException} with {@link SqlJetErrorCode#BUSY}.
@author TMate Software Ltd. @author Sergey Scherbina (sergey.scherbina@gmail.com)
|
|
|
|