protected class KiWiConnection.RetryExecution<T> extends Object
KiWiConnection.RetryExecution(String name)
T
execute(Connection connection, KiWiConnection.RetryCommand<T> command)
int
getMaxRetries()
String
getName()
long
getRetryInterval()
Set<String>
getSqlStates()
boolean
isUseSavepoint()
void
setMaxRetries(int maxRetries)
setName(String name)
setRetryInterval(long retryInterval)
setUseSavepoint(boolean useSavepoint)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 Set<String> getSqlStates()
public T execute(Connection connection, KiWiConnection.RetryCommand<T> command) throws SQLException
SQLException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.