Class RetryingRepositoryOperationAnnotationHandler
java.lang.Object
org.craftercms.studio.api.v2.annotation.RetryingRepositoryOperationAnnotationHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoRetryingOperation(org.aspectj.lang.ProceedingJoinPoint pjp) intintprotected booleanvoidsetMaxRetries(int maxRetries) voidsetMaxSleep(int maxSleep)
-
Constructor Details
-
RetryingRepositoryOperationAnnotationHandler
public RetryingRepositoryOperationAnnotationHandler()
-
-
Method Details
-
getMaxRetries
public int getMaxRetries() -
setMaxRetries
public void setMaxRetries(int maxRetries) -
getMaxSleep
public int getMaxSleep() -
setMaxSleep
public void setMaxSleep(int maxSleep) -
doRetryingOperation
- Throws:
Throwable
-
isRepositoryLocked
-