|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.sigmadynamics.server.DataServices.DatabaseProvider.DefaultDeadlockHandler
public class DefaultDeadlockHandler
Constructor Summary | |
---|---|
DefaultDeadlockHandler() |
Method Summary | |
---|---|
void |
clear() |
java.sql.SQLException |
deadlockCheck(java.sql.SQLException e) This method checks to see whether an exception is for a deadlock. |
java.sql.SQLException |
getDeadlockException() |
int |
getRetryCount() |
boolean |
isDeadlockException(java.sql.SQLException e) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDeadlockHandler()
Method Detail |
---|
public boolean isDeadlockException(java.sql.SQLException e)
isDeadlockException
in interface DeadlockHandler
public void clear()
clear
in interface DeadlockHandler
public int getRetryCount()
getRetryCount
in interface DeadlockHandler
public java.sql.SQLException getDeadlockException()
getDeadlockException
in interface DeadlockHandler
public java.sql.SQLException deadlockCheck(java.sql.SQLException e)
It is important that the caller either calls clear
when the original operation has succeeded or if it receives an exception for which it doesn't call this method so that the count value is reset properly.
deadlockCheck
in interface DeadlockHandler
e
- the original exception that should be checked
|
Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions 11g Release 1 (11.1.1) E17787-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |