|
SQLJet Home | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISqlJetBusyHandler
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 SqlJetException
with SqlJetErrorCode.BUSY
.
Method Summary | |
---|---|
boolean |
call(int number)
Callback which implements busy handler. |
Method Detail |
---|
boolean call(int number)
Callback 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
.
number
- number of retry to obtain lock on database.
|
SQLJet Home | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |