public class JtaRetryInterceptor extends RetryInterceptor
Modifier and Type | Field and Description |
---|---|
protected TransactionManager |
transactionManager |
numOfRetries, waitIncreaseFactor, waitTimeInMs
next
Constructor and Description |
---|
JtaRetryInterceptor(TransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
calledInsideTransaction() |
<T> T |
execute(Command<T> command) |
getNumOfRetries, getWaitIncreaseFactor, getWaitTimeInMs, setNumOfRetries, setWaitIncreaseFactor, setWaitTimeInMs, waitBeforeRetry
getNext, setNext
protected final TransactionManager transactionManager
public JtaRetryInterceptor(TransactionManager transactionManager)
public <T> T execute(Command<T> command)
execute
in interface CommandExecutor
execute
in class RetryInterceptor
protected boolean calledInsideTransaction()
Copyright © 2015. All rights reserved.