|
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 DeadlockHandlerpublic void clear()
clear in interface DeadlockHandlerpublic int getRetryCount()
getRetryCount in interface DeadlockHandlerpublic java.sql.SQLException getDeadlockException()
getDeadlockException in interface DeadlockHandlerpublic 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 DeadlockHandlere - 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 | |||||||||