create a proxy for an interface of implementations of that interface using the given failoverproxyprovider and the a set of retry policiesspecified by method name . if no retry policy is defined for a method then a default of retrypolicies #try_once_then_fail is used . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
Object function ( Class < T > arg0 , FailoverProxyProvider < T > arg1 , Map < String , RetryPolicy > arg2 , RetryPolicy arg3 ) { return Proxy . newProxyInstance ( arg1 . getInterface ( ) . getClassLoader ( ) , new Class < ? > [ ] { arg0 } , new RetryInvocationHandler < T > ( arg1 , arg3 , arg2 ) ) ; }