|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.sqljet.core.table.SqlJetTimeoutBusyHandler
public class SqlJetTimeoutBusyHandler
Constructor Summary | |
---|---|
SqlJetTimeoutBusyHandler(int timeout)
|
Method Summary | |
---|---|
boolean |
call(int number)
Callback which implements busy handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SqlJetTimeoutBusyHandler(int timeout)
Method Detail |
---|
public boolean call(int number)
ISqlJetBusyHandler
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
.
call
in interface ISqlJetBusyHandler
number
- number of retry to obtain lock on database.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |