
com.taobao.hsf.invocation.InvocationHandler Maven / Gradle / Ivy
package com.taobao.hsf.invocation;
import com.taobao.hsf.util.concurrent.ListenableFuture;
/**
*
* 调用执行Handler
*
*
*
* Created by sixie.xyn on 2015/11/13.
*/
public interface InvocationHandler {
/**
*
* 调用,发送请求
*
*
* @param invocation 请求
* @return 异步计算结果
* @throws Throwable 异常
*/
// TODO throwable ?
ListenableFuture invoke(Invocation invocation) throws Throwable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy