public interface ServiceContext
Service,
ServiceInstance| Modifier and Type | Method and Description |
|---|---|
boolean |
allHealthy() |
boolean |
checkStatus(ServiceInstance.Status status)
Checks whether all the
ServiceInstances of all Services in this context are in the specified ServiceInstance.Status |
String |
getFormattedErrors() |
Service |
getService(String name) |
Set<Service> |
getServices() |
ServiceContext |
merge(ServiceContext context) |
ServiceContext |
subtract(ServiceContext context) |
Set<Service> getServices()
Service getService(String name)
name - the name of the requested svc as declared in SvcServiceContext merge(ServiceContext context)
ServiceContext subtract(ServiceContext context)
boolean allHealthy()
boolean checkStatus(ServiceInstance.Status status)
ServiceInstances of all Services in this context are in the specified ServiceInstance.Statusstatus - the ServiceInstance.Status to checkString getFormattedErrors()
Copyright © 2021. All rights reserved.