Uses of Class
org.kiwiproject.registry.model.ServiceInstance
Packages that use ServiceInstance
Package
Description
-
Uses of ServiceInstance in org.kiwiproject.registry.client
Methods in org.kiwiproject.registry.client that return types with arguments of type ServiceInstanceModifier and TypeMethodDescriptionstatic 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.MultiRegistryClient.findAllServiceInstancesBy(RegistryClient.InstanceQuery query) Attempts to find all service instances from the givenRegistryClient.InstanceQuery.NoOpRegistryClient.findAllServiceInstancesBy(RegistryClient.InstanceQuery query) Always returns an empty, unmodifiable list.default List<ServiceInstance>RegistryClient.findAllServiceInstancesBy(String serviceName) Attempts to find all service instances with the given service name.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.MultiRegistryClient.findServiceInstanceBy(String serviceName, String instanceId) Attempts to find a service instance with the given service name and the given instance id.NoOpRegistryClient.findServiceInstanceBy(String serviceName, String instanceId) Always returns an empty Optional.default Optional<ServiceInstance>RegistryClient.findServiceInstanceBy(String serviceName) Attempts to find a service instance with the given service name.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.MultiRegistryClient.retrieveAllRegisteredInstances()Retrieves all registered service instances from the registry.NoOpRegistryClient.retrieveAllRegisteredInstances()Always returns an empty, unmodifiable list.RegistryClient.retrieveAllRegisteredInstances()Retrieves all registered service instances from the registry.Methods in org.kiwiproject.registry.client with parameters of type ServiceInstanceModifier and TypeMethodDescriptionstatic 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 ServiceInstanceModifier and TypeMethodDescriptionstatic 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 ServiceInstanceModifier and TypeMethodDescriptionConsulRegistryClient.findAllServiceInstancesBy(RegistryClient.InstanceQuery query) ConsulRegistryClient.findServiceInstanceBy(String serviceName, String instanceId) 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 ServiceInstanceModifier and TypeMethodDescriptionConsulRegistryService.createCandidateFrom(ServiceInfo serviceInfo) ConsulRegistryService.register(ServiceInstance serviceToRegister) ConsulRegistryService.updateStatus(ServiceInstance.Status newStatus) Methods in org.kiwiproject.registry.consul.server with parameters of type ServiceInstanceModifier and TypeMethodDescriptionConsulHelpers.newDefaultMetadata(ServiceInstance serviceInstance) Creates a map with default metadata items that theConsulRegistryClientwill be looking for when it converts a registered service back into aServiceInstance.ConsulRegistryService.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 ServiceInstanceModifier and TypeMethodDescriptionEurekaRegistryClient.findAllServiceInstancesBy(RegistryClient.InstanceQuery query) EurekaRegistryClient.findServiceInstanceBy(String serviceName, String instanceId) EurekaRegistryClient.retrieveAllRegisteredInstances() -
Uses of ServiceInstance in org.kiwiproject.registry.eureka.common
Methods in org.kiwiproject.registry.eureka.common that return ServiceInstanceModifier and TypeMethodDescriptionEurekaInstance.toServiceInstance()EurekaInstance.toServiceInstance(NativeRegistryData nativeRegistryData) Methods in org.kiwiproject.registry.eureka.common with parameters of type ServiceInstanceModifier and TypeMethodDescriptionstatic EurekaInstanceEurekaInstance.fromServiceInstance(ServiceInstance serviceInstance) -
Uses of ServiceInstance in org.kiwiproject.registry.eureka.server
Methods in org.kiwiproject.registry.eureka.server that return ServiceInstanceModifier and TypeMethodDescriptionEurekaRegistryService.createCandidateFrom(ServiceInfo serviceInfo) EurekaRegistryService.register(ServiceInstance serviceToRegister) EurekaRegistryService.updateStatus(ServiceInstance.Status newStatus) Methods in org.kiwiproject.registry.eureka.server with parameters of type ServiceInstanceModifier and TypeMethodDescriptionEurekaRegistryService.register(ServiceInstance serviceToRegister) -
Uses of ServiceInstance in org.kiwiproject.registry.model
Methods in org.kiwiproject.registry.model that return ServiceInstanceModifier and TypeMethodDescriptionServiceInstance.ServiceInstanceBuilder.build()static ServiceInstanceServiceInstance.fromServiceInfo(ServiceInfo serviceInfo) Returns a newServiceInstanceBuilderbuilt from a givenServiceInfo.ServiceInstance.withHostName(String hostName) ServiceInstance.withInstanceId(String instanceId) ServiceInstance.withMetadata(Map<String, String> metadata) Used to store extra data in a discovery service for this instanceServiceInstance.withNativeRegistryData(Map<String, Object> nativeRegistryData) Used to store native registry data that includes data mapped intoServiceInstanceas well as any additional information that is not mapped.ServiceInstance.withStatus(ServiceInstance.Status status) -
Uses of ServiceInstance in org.kiwiproject.registry.server
Methods in org.kiwiproject.registry.server that return ServiceInstanceModifier and TypeMethodDescriptionNoopRegistryService.createCandidateFrom(ServiceInfo serviceInfo) RegistryService.createCandidateFrom(ServiceInfo serviceInfo) Creates a newServiceInstanceinstance from aServiceInfothat can be registered with the registry server.NoopRegistryService.register(ServiceInstance serviceToRegister) RegistryService.register(ServiceInstance serviceToRegister) Registers aServiceInstancewith the registry server and returns a new instance containing information about the registered instance.NoopRegistryService.updateStatus(ServiceInstance.Status newStatus) RegistryService.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 ServiceInstanceModifier and TypeMethodDescriptionNoopRegistryService.register(ServiceInstance serviceToRegister) RegistryService.register(ServiceInstance serviceToRegister) Registers aServiceInstancewith the registry server and returns a new instance containing information about the registered instance.