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

org.mydotey.rpc.client.http.HttpLoadBalancer Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package org.mydotey.rpc.client.http;

/**
 * @author koqizhao
 *
 * Jan 16, 2019
 */
public interface HttpLoadBalancer {

    HttpExecutionContext newExecutionContext();

    interface HttpExecutionContext {

        String getServiceUrl();

        long getStartTime();

        long getEndTime();

        Throwable getExecutionError();

        void setExecutionError(Throwable executionError);

        void complete();

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy