T - the return type of the method which is retried if it failedpublic abstract class ConnectionHelper.RetryManager<T> extends Object
| Constructor and Description |
|---|
RetryManager(Object[] params) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
call() |
protected void |
cleanupParamResources()
Cleans up the Parameter resources that are not automatically closed or deleted.
|
T |
doTry() |
protected boolean |
resetParamResources() |
public RetryManager(Object[] params)
public final T doTry() throws SQLException
SQLExceptionprotected abstract T call() throws SQLException
SQLExceptionprotected void cleanupParamResources()
protected boolean resetParamResources()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.