Toggle navigation
Home
java.lang.Runnable to net.jodah.recurrent.ContextualRunnable
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'failsafe'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Other
runnable.run();
to
[invocation]
Cascading Type Change (Similar)
AsyncCallable<Object>
to
AsyncCallable<T>
Add or Remove Method invocation
runnable.run()
to
invocation.reset()
invocation.retryOrComplete(null,null)
to
runnable.run(invocation)
invocation.retryOrComplete(null,e)
to
invocation.completeOrRetry(null,e)
Update Anonymous class
{ @Override public Void call() throws Exception { try { runnable.run(); invocation.retryOrComplete(null,null); } catch ( Exception e) { invocation.retryOrComplete(null,e); } return null; } }
to
{ @Override public synchronized T call() throws Exception { try { invocation.reset(); runnable.run(invocation); } catch ( Exception e) { invocation.completeOrRetry(null,e); } return null; } }