Documentation of 'org.tmatesoft.sqljet.core.table.SqlJetTimeoutBusyHandler' Java class
SqlJetTimeoutBusyHandler
org.tmatesoft.sqljet.core.table

Class SqlJetTimeoutBusyHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean call(int number)
      Callback which implements busy handler.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SqlJetTimeoutBusyHandler

        public SqlJetTimeoutBusyHandler(int timeout)
    • Method Detail

      • call

        public boolean call(int number)
        Description copied from interface: 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.

        Specified by:
        call in interface ISqlJetBusyHandler
        Parameters:
        number - number of retry to obtain lock on database.
        Returns:
        true if retries will continue or false if retries will stop.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.