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

com.netflix.eureka2.client.registration.RegistrationHandler Maven / Gradle / Ivy

package com.netflix.eureka2.client.registration;

import com.netflix.eureka2.registry.InstanceInfo;
import rx.Observable;

/**
 * A contract for the client to submit registrations to the eureka write server.
 *
 * This supports multiple registrations from the same client and transparently handles reconnect and re-registration if
 * the connection to the eureka server is broken, unless the instance was explicitly unregistered.
 *
 * @author Nitesh Kant
 */
public interface RegistrationHandler {

    Observable register(InstanceInfo instanceInfo);

    Observable unregister(InstanceInfo instanceInfo);

    Observable update(InstanceInfo instanceInfo);

    void shutdown();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy