org.ektorp.spring
Class RetryAdvice
java.lang.Object
org.ektorp.spring.RetryAdvice
- All Implemented Interfaces:
- org.springframework.core.Ordered
public class RetryAdvice
- extends Object
- implements org.springframework.core.Ordered
- Author:
- Henrik Lundgren
created 18 okt 2009
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetryAdvice
public RetryAdvice()
retryableDbOperation
public void retryableDbOperation()
retryAfterUpdateConflict
public Object retryAfterUpdateConflict(org.aspectj.lang.ProceedingJoinPoint pjp)
throws Throwable
- Throws:
Throwable
getOrder
public int getOrder()
- Specified by:
getOrder
in interface org.springframework.core.Ordered
setMaxRetries
public void setMaxRetries(int maxRetries)
Copyright © 2011. All Rights Reserved.