All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ikasoa.core.ServerCheckFailProcessor Maven / Gradle / Ivy

package com.ikasoa.core;

import com.ikasoa.core.thrift.client.ThriftClient;

/**
 * 服务器连接失败处理接口
 * 

* 如果有配置服务器可用性检测ServerCheck,且检测不通过需要做相应的处理时,则可以使用该接口. * * @author Larry * @version 0.2 */ @FunctionalInterface public interface ServerCheckFailProcessor { /** * 服务器连接失败处理 * * @param client * 客户端对象 * @exception IkasoaException * 异常 */ void process(ThriftClient client) throws IkasoaException; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy