Class SQLRecoverableExceptionHandler
- java.lang.Object
-
- de.hybris.platform.jdbcwrapper.interceptor.recover.SQLRecoverableExceptionHandler
-
- All Implemented Interfaces:
JDBCInterceptor
public final class SQLRecoverableExceptionHandler extends java.lang.Object implements JDBCInterceptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.jdbcwrapper.interceptor.JDBCInterceptor
JDBCInterceptor.RunnableWithSQLException, JDBCInterceptor.SupplierWithSQLException<T>
-
-
Constructor Summary
Constructors Constructor Description SQLRecoverableExceptionHandler(SQLRecoveryStrategy recoveryStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforceClose()voidforceOpen()<T> Tget(JDBCInterceptorContext ctx, JDBCInterceptor.SupplierWithSQLException<T> supplier)booleanisOpen()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.jdbcwrapper.interceptor.JDBCInterceptor
get, run, wrap
-
-
-
-
Constructor Detail
-
SQLRecoverableExceptionHandler
public SQLRecoverableExceptionHandler(SQLRecoveryStrategy recoveryStrategy)
-
-
Method Detail
-
get
public <T> T get(JDBCInterceptorContext ctx, JDBCInterceptor.SupplierWithSQLException<T> supplier) throws java.sql.SQLException
- Specified by:
getin interfaceJDBCInterceptor- Throws:
java.sql.SQLException
-
isOpen
public boolean isOpen()
-
forceClose
public final void forceClose()
-
forceOpen
public final void forceOpen()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-