类 LazyTaksCallback<K,V>
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.task.LazyTaksCallback<K,V>
- 所有已实现的接口:
TaskCallback<K,V>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonException(ObsException exception, V singleRequest) Callback when an exception is thrown during task execution.voidCallback when the task is executed successfully.
-
构造器详细资料
-
LazyTaksCallback
public LazyTaksCallback()
-
-
方法详细资料
-
onSuccess
从接口复制的说明:TaskCallbackCallback when the task is executed successfully.- 指定者:
onSuccess在接口中TaskCallback<K,V> - 参数:
result- Callback parameter. Generally, the return type of a specific operation is used.
-
onException
从接口复制的说明:TaskCallbackCallback when an exception is thrown during task execution.- 指定者:
onException在接口中TaskCallback<K,V> - 参数:
exception- Exception informationsingleRequest- The request that causes an exception
-