org.ektorp.spring
Class RetryAdvice

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
RetryAdvice()
           
 
Method Summary
 int getOrder()
           
 void retryableDbOperation()
           
 Object retryAfterUpdateConflict(org.aspectj.lang.ProceedingJoinPoint pjp)
           
 void setMaxRetries(int maxRetries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryAdvice

public RetryAdvice()
Method Detail

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.