protected class KiWiConnection.RetryExecution<T> extends Object
Constructor and Description |
---|
KiWiConnection.RetryExecution(String name) |
Modifier and Type | Method and Description |
---|---|
T |
execute(Connection connection,
KiWiConnection.RetryCommand<T> command) |
int |
getMaxRetries() |
String |
getName() |
long |
getRetryInterval() |
Set<String> |
getSqlStates() |
boolean |
isUseSavepoint() |
void |
setMaxRetries(int maxRetries) |
void |
setName(String name) |
void |
setRetryInterval(long retryInterval) |
void |
setUseSavepoint(boolean useSavepoint) |
public KiWiConnection.RetryExecution(String name)
public String getName()
public void setName(String name)
public int getMaxRetries()
public void setMaxRetries(int maxRetries)
public long getRetryInterval()
public void setRetryInterval(long retryInterval)
public boolean isUseSavepoint()
public void setUseSavepoint(boolean useSavepoint)
public T execute(Connection connection, KiWiConnection.RetryCommand<T> command) throws SQLException
SQLException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.