Uses of Interface
org.apache.dubbo.registry.client.ServiceInstance
Packages that use ServiceInstance
Package
Description
* The inspiration of service registration and discovery comes from
Spring Cloud Commons.
-
Uses of ServiceInstance in org.apache.dubbo.registry.client
Classes in org.apache.dubbo.registry.client that implement ServiceInstanceMethods in org.apache.dubbo.registry.client that return ServiceInstanceModifier and TypeMethodDescriptionInstanceAddressURL.getInstance()OverrideInstanceAddressURL.getInstance()final ServiceInstanceAbstractServiceDiscovery.getLocalInstance()ServiceDiscovery.getLocalInstance()Methods in org.apache.dubbo.registry.client that return types with arguments of type ServiceInstanceModifier and TypeMethodDescriptionfinal ConcurrentHashMap<String, List<ServiceInstance>> ReflectionBasedServiceDiscovery.getCachedServiceInstances()Deprecated.NopServiceDiscovery.getInstances(String serviceName) ReflectionBasedServiceDiscovery.getInstances(String serviceName) ServiceDiscovery.getInstances(String serviceName) Methods in org.apache.dubbo.registry.client with parameters of type ServiceInstanceModifier and TypeMethodDescriptionvoidServiceInstanceCustomizer.customize(ServiceInstance serviceInstance, ApplicationModel applicationModel) Customizesthe service instancevoidNopServiceDiscovery.doRegister(ServiceInstance serviceInstance) voidReflectionBasedServiceDiscovery.doRegister(ServiceInstance serviceInstance) voidNopServiceDiscovery.doUnregister(ServiceInstance serviceInstance) voidReflectionBasedServiceDiscovery.doUnregister(ServiceInstance serviceInstance) Method parameters in org.apache.dubbo.registry.client with type arguments of type ServiceInstanceModifier and TypeMethodDescriptionAbstractServiceDiscovery.getRemoteMetadata(String revision, List<ServiceInstance> instances) ServiceDiscovery.getRemoteMetadata(String revision, List<ServiceInstance> instances) final voidReflectionBasedServiceDiscovery.notifyListener(String serviceName, ServiceInstancesChangedListener listener, List<ServiceInstance> instances) Constructors in org.apache.dubbo.registry.client with parameters of type ServiceInstanceModifierConstructorDescriptionInstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo) InstanceAddressURL(ServiceInstance instance, MetadataInfo metadataInfo, String protocol) -
Uses of ServiceInstance in org.apache.dubbo.registry.client.event
Methods in org.apache.dubbo.registry.client.event that return types with arguments of type ServiceInstanceConstructor parameters in org.apache.dubbo.registry.client.event with type arguments of type ServiceInstanceModifierConstructorDescriptionServiceInstancesChangedEvent(String serviceName, List<ServiceInstance> serviceInstances) -
Uses of ServiceInstance in org.apache.dubbo.registry.client.event.listener
Methods in org.apache.dubbo.registry.client.event.listener that return types with arguments of type ServiceInstance -
Uses of ServiceInstance in org.apache.dubbo.registry.client.metadata
Methods in org.apache.dubbo.registry.client.metadata with parameters of type ServiceInstanceModifier and TypeMethodDescriptionMetadataServiceURLBuilder.build(ServiceInstance serviceInstance) Build theURLsfrom the specifiedServiceInstanceSpringCloudMetadataServiceURLBuilder.build(ServiceInstance serviceInstance) StandardMetadataServiceURLBuilder.build(ServiceInstance serviceInstance) voidProtocolPortsMetadataCustomizer.customize(ServiceInstance serviceInstance, ApplicationModel applicationModel) voidServiceInstanceHostPortCustomizer.customize(ServiceInstance serviceInstance, ApplicationModel applicationModel) voidServiceInstanceMetadataCustomizer.customize(ServiceInstance serviceInstance, ApplicationModel applicationModel) static voidServiceInstanceMetadataUtils.customizeInstance(ServiceInstance instance, ApplicationModel applicationModel) ServiceInstanceMetadataUtils.getEndpoint(ServiceInstance serviceInstance, String protocol) Get the property value of port by the specifiedthe metadata of service instanceand protocolstatic StringServiceInstanceMetadataUtils.getExportedServicesRevision(ServiceInstance serviceInstance) The revision for all exported Dubbo services from the specifiedServiceInstance.static MetadataInfoMetadataUtils.getMetadata(String revision, ServiceInstance instance, MetadataReport metadataReport) static StringServiceInstanceMetadataUtils.getMetadataStorageType(ServiceInstance serviceInstance) Get the metadata storage type specified by the peer instance.static StringServiceInstanceMetadataUtils.getRemoteCluster(ServiceInstance serviceInstance) static booleanServiceInstanceMetadataUtils.hasEndpoints(ServiceInstance serviceInstance) static booleanServiceInstanceMetadataUtils.isValidInstance(ServiceInstance instance) MetadataUtils.referMetadataService(ServiceInstance instance) static voidServiceInstanceMetadataUtils.setEndpoints(ServiceInstance serviceInstance, Map<String, Integer> protocolPorts) static voidServiceInstanceMetadataUtils.setMetadataStorageType(ServiceInstance serviceInstance, String metadataType) Set the metadata storage type in specifiedservice instanceMethod parameters in org.apache.dubbo.registry.client.metadata with type arguments of type ServiceInstanceModifier and TypeMethodDescriptionvoidServiceInstanceNotificationCustomizer.customize(List<ServiceInstance> serviceInstance) static MetadataInfoMetadataUtils.getRemoteMetadata(String revision, List<ServiceInstance> instances, MetadataReport metadataReport)