Uses of Class
org.kiwiproject.registry.model.ServiceInstance
-
-
Uses of ServiceInstance in org.kiwiproject.registry.client
Methods in org.kiwiproject.registry.client that return types with arguments of type ServiceInstance Modifier and Type Method Description static List<ServiceInstance>ServiceInstanceFilter. filterInstancesByVersion(List<ServiceInstance> serviceInstances, RegistryClient.InstanceQuery query)Filter the given service instances using thequery, by minimum and/or preferred versions if specified.List<ServiceInstance>RegistryClient. findAllServiceInstancesBy(String serviceName)Attempts to find all service instances with the given service name.List<ServiceInstance>RegistryClient. findAllServiceInstancesBy(RegistryClient.InstanceQuery query)Attempts to find all service instances from the givenRegistryClient.InstanceQuery.static List<ServiceInstance>ServiceInstanceFilter. findInstancesWithLatestVersion(List<ServiceInstance> serviceInstances)Finds the latest version in the given list of service instances, then returns a new list containing only instances having that latest version.Optional<ServiceInstance>RegistryClient. findServiceInstanceBy(String serviceName)Attempts to find a service instance with the given service name.Optional<ServiceInstance>RegistryClient. findServiceInstanceBy(String serviceName, String instanceId)Attempts to find a service instance with the given service name and the given instance id.Optional<ServiceInstance>RegistryClient. findServiceInstanceBy(RegistryClient.InstanceQuery query)Attempts to find a service instance from the givenRegistryClient.InstanceQuery.Methods in org.kiwiproject.registry.client with parameters of type ServiceInstance Modifier and Type Method Description static booleanServiceInstanceFilter. versionIsAtLeast(ServiceInstance instance, String version)Is the version of theServiceInstancethe same or higher thanversion?static booleanServiceInstanceFilter. versionIsExactly(ServiceInstance instance, String version)Is the version of theServiceInstancethe same asversion?Method parameters in org.kiwiproject.registry.client with type arguments of type ServiceInstance Modifier and Type Method Description static List<ServiceInstance>ServiceInstanceFilter. filterInstancesByVersion(List<ServiceInstance> serviceInstances, RegistryClient.InstanceQuery query)Filter the given service instances using thequery, by minimum and/or preferred versions if specified.static List<ServiceInstance>ServiceInstanceFilter. findInstancesWithLatestVersion(List<ServiceInstance> serviceInstances)Finds the latest version in the given list of service instances, then returns a new list containing only instances having that latest version. -
Uses of ServiceInstance in org.kiwiproject.registry.eureka.client
Methods in org.kiwiproject.registry.eureka.client that return types with arguments of type ServiceInstance Modifier and Type Method Description List<ServiceInstance>EurekaRegistryClient. findAllServiceInstancesBy(String serviceName)List<ServiceInstance>EurekaRegistryClient. findAllServiceInstancesBy(RegistryClient.InstanceQuery query)Optional<ServiceInstance>EurekaRegistryClient. findServiceInstanceBy(String serviceName)Optional<ServiceInstance>EurekaRegistryClient. findServiceInstanceBy(String serviceName, String instanceId)Optional<ServiceInstance>EurekaRegistryClient. findServiceInstanceBy(RegistryClient.InstanceQuery query) -
Uses of ServiceInstance in org.kiwiproject.registry.eureka.common
Methods in org.kiwiproject.registry.eureka.common that return ServiceInstance Modifier and Type Method Description ServiceInstanceEurekaInstance. toServiceInstance()Methods in org.kiwiproject.registry.eureka.common with parameters of type ServiceInstance Modifier and Type Method Description static EurekaInstanceEurekaInstance. fromServiceInstance(ServiceInstance serviceInstance) -
Uses of ServiceInstance in org.kiwiproject.registry.eureka.server
Methods in org.kiwiproject.registry.eureka.server that return ServiceInstance Modifier and Type Method Description ServiceInstanceEurekaRegistryService. createCandidateFrom(ServiceInfo serviceInfo)ServiceInstanceEurekaRegistryService. register(ServiceInstance serviceToRegister)ServiceInstanceEurekaRegistryService. updateStatus(ServiceInstance.Status newStatus)Methods in org.kiwiproject.registry.eureka.server with parameters of type ServiceInstance Modifier and Type Method Description ServiceInstanceEurekaRegistryService. register(ServiceInstance serviceToRegister) -
Uses of ServiceInstance in org.kiwiproject.registry.model
Methods in org.kiwiproject.registry.model that return ServiceInstance Modifier and Type Method Description static ServiceInstanceServiceInstance. fromServiceInfo(ServiceInfo serviceInfo)Returns a newServiceInstanceBuilderbuilt from a givenServiceInfo -
Uses of ServiceInstance in org.kiwiproject.registry.server
Methods in org.kiwiproject.registry.server that return ServiceInstance Modifier and Type Method Description ServiceInstanceNoopRegistryService. createCandidateFrom(ServiceInfo serviceInfo)ServiceInstanceRegistryService. createCandidateFrom(ServiceInfo serviceInfo)Creates a newServiceInstanceinstance from aServiceInfothat can be registered with the registry server.ServiceInstanceNoopRegistryService. register(ServiceInstance serviceToRegister)ServiceInstanceRegistryService. register(ServiceInstance serviceToRegister)Registers aServiceInstancewith the registry server and returns a new instance containing information about the registered instance.ServiceInstanceNoopRegistryService. updateStatus(ServiceInstance.Status newStatus)ServiceInstanceRegistryService. updateStatus(ServiceInstance.Status newStatus)Sends an update to the registry server to inform of a service status changeMethods in org.kiwiproject.registry.server with parameters of type ServiceInstance Modifier and Type Method Description ServiceInstanceNoopRegistryService. register(ServiceInstance serviceToRegister)ServiceInstanceRegistryService. register(ServiceInstance serviceToRegister)Registers aServiceInstancewith the registry server and returns a new instance containing information about the registered instance.
-