Toggle navigation
Home
net.jodah.recurrent.RetryableCallable to java.util.concurrent.Callable
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)
call
to
call
Cascading Type Change (Different)
ContextualCallable<T>
to
AsyncCallable<T>
Add or Remove Method invocation
callable.call(invocation)
to
callable.call()
listener.onCompletion(result,failure)
to
listener.onCompletion(null,e)
Update Anonymous class
{ @Override public T call() throws Exception { T result=null; Throwable failure=null; try { result=callable.call(invocation); } catch ( Exception e) { failure=e; } listener.onCompletion(result,failure); return result; } }
to
{ @Override public T call() throws Exception { try { T result=callable.call(); listener.onCompletion(result,null); return result; } catch ( Exception e) { listener.onCompletion(null,e); return null; } } }