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