Uses of Class
com.networknt.consul.ConsulService
-
Packages that use ConsulService Package Description com.networknt.consul com.networknt.consul.client -
-
Uses of ConsulService in com.networknt.consul
Methods in com.networknt.consul that return ConsulService Modifier and Type Method Description static ConsulServiceConsulUtils. buildService(URL url)build consul service from urlMethods in com.networknt.consul with parameters of type ConsulService Modifier and Type Method Description static URLConsulUtils. buildUrl(String protocol, ConsulService service)build url from service -
Uses of ConsulService in com.networknt.consul.client
Methods in com.networknt.consul.client that return types with arguments of type ConsulService Modifier and Type Method Description ConsulResponse<List<ConsulService>>ConsulClient. lookupHealthService(String serviceName, String tag, long lastConsulIndex, String token)get latest service list with a tag filter and a security token to lookup health services based on serviceName, if lastConsulIndex == 0, will get result right away.ConsulResponse<List<ConsulService>>ConsulClientImpl. lookupHealthService(String serviceName, String tag, long lastConsulIndex, String token)to lookup health services based on serviceName, if lastConsulIndex == 0, will get result right away.Methods in com.networknt.consul.client with parameters of type ConsulService Modifier and Type Method Description voidConsulClient. registerService(ConsulService service, String token)register a consul servicevoidConsulClientImpl. registerService(ConsulService service, String token)
-