Class RetryAdvice

java.lang.Object
org.duracloud.common.aop.RetryAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.core.Ordered

public class RetryAdvice extends Object implements org.aopalliance.intercept.MethodInterceptor, org.springframework.core.Ordered
  • Constructor Details

    • RetryAdvice

      public RetryAdvice()
  • Method Details

    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable
    • getMaxRetries

      public int getMaxRetries()
    • setMaxRetries

      public void setMaxRetries(int maxRetries)
    • getWaitTime

      public int getWaitTime()
    • setWaitTime

      public void setWaitTime(int waitTime)
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)