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
SQLException
protected abstract T call() throws SQLException
SQLException
protected void cleanupParamResources()
protected boolean resetParamResources()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.