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.default 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.default 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.default Optional<ServiceInstance>RegistryClient. findServiceInstanceBy(RegistryClient.InstanceQuery query)Attempts to find a service instance from the givenRegistryClient.InstanceQuery.List<ServiceInstance>RegistryClient. retrieveAllRegisteredInstances()Retrieves all registered service instances from the registry.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.consul.client
Methods in org.kiwiproject.registry.consul.client that return types with arguments of type ServiceInstance Modifier and Type Method Description List<ServiceInstance>ConsulRegistryClient. findAllServiceInstancesBy(RegistryClient.InstanceQuery query)Optional<ServiceInstance>ConsulRegistryClient. findServiceInstanceBy(String serviceName, String instanceId)List<ServiceInstance>ConsulRegistryClient. retrieveAllRegisteredInstances()Returns all registered services in Consul. -
Uses of ServiceInstance in org.kiwiproject.registry.consul.server
Methods in org.kiwiproject.registry.consul.server that return ServiceInstance Modifier and Type Method Description ServiceInstanceConsulRegistryService. createCandidateFrom(ServiceInfo serviceInfo)ServiceInstanceConsulRegistryService. register(ServiceInstance serviceToRegister)ServiceInstanceConsulRegistryService. updateStatus(ServiceInstance.Status newStatus)Methods in org.kiwiproject.registry.consul.server with parameters of type ServiceInstance Modifier and Type Method Description static Map<String,String>ConsulHelpers. newDefaultMetadata(ServiceInstance serviceInstance)Creates a map with default metadata items that theConsulRegistryClientwill be looking for when it converts a registered service back into aServiceInstance.ServiceInstanceConsulRegistryService. register(ServiceInstance serviceToRegister) -
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(RegistryClient.InstanceQuery query)Optional<ServiceInstance>EurekaRegistryClient. findServiceInstanceBy(String serviceName, String instanceId)List<ServiceInstance>EurekaRegistryClient. retrieveAllRegisteredInstances() -
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()ServiceInstanceEurekaInstance. toServiceInstance(NativeRegistryData nativeRegistryData)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.
-