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

com.netflix.discovery.shared.transport.EurekaHttpClient Maven / Gradle / Ivy

There is a newer version: 0.40.13
Show newest version
package com.netflix.discovery.shared.transport;

import com.netflix.appinfo.InstanceInfo;
import com.netflix.appinfo.InstanceInfo.InstanceStatus;
import com.netflix.discovery.shared.Application;
import com.netflix.discovery.shared.Applications;

/**
 * Low level Eureka HTTP client API.
 *
 * @author Tomasz Bak
 */
public interface EurekaHttpClient {

    EurekaHttpResponse register(InstanceInfo info);

    EurekaHttpResponse cancel(String appName, String id);

    EurekaHttpResponse sendHeartBeat(String appName, String id, InstanceInfo info, InstanceStatus overriddenStatus);

    EurekaHttpResponse statusUpdate(String appName, String id, InstanceStatus newStatus, InstanceInfo info);

    EurekaHttpResponse deleteStatusOverride(String appName, String id, InstanceInfo info);

    EurekaHttpResponse getApplications(String... regions);

    EurekaHttpResponse getDelta(String... regions);

    EurekaHttpResponse getVip(String vipAddress, String... regions);

    EurekaHttpResponse getSecureVip(String secureVipAddress, String... regions);

    EurekaHttpResponse getApplication(String appName);

    EurekaHttpResponse getInstance(String appName, String id);

    EurekaHttpResponse getInstance(String id);

    void shutdown();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy