public class SqlJetTimeoutBusyHandler extends java.lang.Object implements ISqlJetBusyHandler
| Constructor and Description |
|---|
SqlJetTimeoutBusyHandler(int timeout) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
call(int number)
Callback which implements busy handler.
|
public boolean call(int number)
ISqlJetBusyHandlerCallback which implements busy handler.
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 SqlJetException with
SqlJetErrorCode.BUSY.
call in interface ISqlJetBusyHandlernumber - number of retry to obtain lock on database.