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