public class UriRouteInvokerWrapper<Input,Output,Context extends RetryContext,Policy extends RetryPolicy,Exception extends AnalyzedException> extends Object implements Invoker<Input,Output,Context,Exception>
| 构造器和说明 |
|---|
UriRouteInvokerWrapper(UriRouteInvoker<Input,Output,Context,Exception> invoker,
RetryPolicy retryPolicy,
Router<URI,Input,Context> uriRouter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addException(Exception exception) |
Context |
getContext() |
List<Exception> |
getExceptions() |
Input |
getInput() |
Exception |
getLastException() |
Output |
invoke() |
void |
setContext(Context context) |
void |
setInput(Input input) |
public UriRouteInvokerWrapper(UriRouteInvoker<Input,Output,Context,Exception> invoker, RetryPolicy retryPolicy, Router<URI,Input,Context> uriRouter)
public Output invoke()
invoke 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>public Input getInput()
getInput 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>public void setInput(Input input)
setInput 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>public void setContext(Context context)
setContext 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>public Context getContext()
getContext 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>public List<Exception> getExceptions()
getExceptions 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>public void addException(Exception exception)
addException 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>public Exception getLastException()
getLastException 在接口中 Invoker<Input,Output,Context extends RetryContext,Exception extends AnalyzedException>Copyright © 2024. All rights reserved.