com.netflix.karyon.spi
Interface ServiceRegistryClient


public interface ServiceRegistryClient

Contract for a service registry to be used by karyon.
Karyon comes with eureka as the service registry but can be overridden by any custom service registry.


Nested Class Summary
static class ServiceRegistryClient.ServiceStatus
          The status of a service.
 
Method Summary
 void updateStatus(ServiceRegistryClient.ServiceStatus newStatus)
          Updates the status of the service to the passed newStatus.
 

Method Detail

updateStatus

void updateStatus(ServiceRegistryClient.ServiceStatus newStatus)
Updates the status of the service to the passed newStatus.

Parameters:
newStatus - New status for the application.