com.zhizus.forest.thrift.client.cluster.IClusterProvider Maven / Gradle / Ivy
The newest version!
package com.zhizus.forest.thrift.client.cluster;
import com.zhizus.forest.thrift.client.ServerInfo;
import org.apache.thrift.TServiceClient;
/**
* Created by Dempe on 2016/12/26.
*/
public interface IClusterProvider {
X iface(T serverInfo, Class ifaceClass) throws Exception;
void clear(ServerInfo key);
}