[
http://issues.ops4j.org/browse/QI-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986#action_13986
]
Niclas Hedhman commented on QI-288:
-----------------------------------
I am adding this now.
If you have some minutes to write up the javadoc of;
{code}
/** This annotation describes the retries that should occur in case of {@link
ConcurrentEntityModificationException}
* occurs.
*/
@Retention( RUNTIME )
@Target( METHOD )
@Inherited
@Documented
public @interface UnitOfWorkRetry
{
int retries() default 1;
long initialDelay() default 0;
long delayFactory() default 5;
}
{code}
> Add a concern for handling retry on ConcurentModification
> ---------------------------------------------------------
>
> Key: QI-288
> URL: http://issues.ops4j.org/browse/QI-288
> Project: Qi4j
> Issue Type: New Feature
> Reporter: Paul Merlin
> Assignee: Niclas Hedhman
> Fix For: 1.3
>
>
> Make the annotation have the following parameters: maxRetries, baseDelay and
> delayFactor where maxRetries states how many times the invocation must be
> retried and baseDelay & delayFactor are used like this: retryDelay =
> baseDelay + retryCount * delayFactor
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev