Class SqlJetBusyHandler
java.lang.Object
org.tmatesoft.sqljet.core.internal.pager.SqlJetBusyHandler
- All Implemented Interfaces:
ISqlJetBusyHandler
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancall(int number) Callback which implements busy handler.
-
Constructor Details
-
SqlJetBusyHandler
public SqlJetBusyHandler()
-
-
Method Details
-
call
public boolean call(int number) Description copied from interface: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
SqlJetExceptionwithSqlJetErrorCode.BUSY.- Specified by:
callin interfaceISqlJetBusyHandler- Parameters:
number- number of retry to obtain lock on database.- Returns:
- true if retries will continue or false if retries will stop.
-