public class SqlJetBusyHandler extends java.lang.Object implements ISqlJetBusyHandler
Constructor and Description |
---|
SqlJetBusyHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
call(int number)
Callback which implements busy handler.
|
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.Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.