test_class.declarator: url = URL.valueOf("zookeeper://127.0.0.1:2181/")
test_class.modifier: private static final
test_class.original_string: private static final URL url = URL.valueOf("zookeeper://127.0.0.1:2181/");
test_class.type: URL
test_class.var_name: url
test_class.declarator: eventDispatcher = EventDispatcher.getDefaultExtension()
test_class.modifier: private
test_class.original_string: private EventDispatcher eventDispatcher = EventDispatcher.getDefaultExtension();
test_class.type: EventDispatcher
test_class.var_name: eventDispatcher
test_class.declarator: delegate
test_class.modifier: private
test_class.original_string: private InMemoryServiceDiscovery delegate;
test_class.type: InMemoryServiceDiscovery
test_class.var_name: delegate
test_class.declarator: serviceDiscovery
test_class.modifier: private
test_class.original_string: private EventPublishingServiceDiscovery serviceDiscovery;
test_class.type: EventPublishingServiceDiscovery
test_class.var_name: serviceDiscovery
test_class.declarator: serviceDiscoveryTest
test_class.modifier: private
test_class.original_string: private ServiceDiscoveryTest serviceDiscoveryTest;
test_class.type: ServiceDiscoveryTest
test_class.var_name: serviceDiscoveryTest
test_class.file: dubbo-registry/dubbo-registry-api/src/test/java/org/apache/dubbo/registry/client/EventPublishingServiceDiscoveryTest.java
test_class.identifier: EventPublishingServiceDiscoveryTest
test_case.body: @Test
      public void testGetInstances() {
          serviceDiscoveryTest.testGetInstances();
      }
test_case.class_method_signature: EventPublishingServiceDiscoveryTest.testGetInstances()
test_case.full_signature: @Test public void testGetInstances()
test_case.identifier: testGetInstances
test_case.invocations: testGetInstances
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetInstances()
focal_class.declarator: REGISTER_ACTION = "register"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String REGISTER_ACTION = "register";
focal_class.type: String
focal_class.var_name: REGISTER_ACTION
focal_class.declarator: UPDATE_ACTION = "update"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String UPDATE_ACTION = "update";
focal_class.type: String
focal_class.var_name: UPDATE_ACTION
focal_class.declarator: UNREGISTER_ACTION = "unregister"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String UNREGISTER_ACTION = "unregister";
focal_class.type: String
focal_class.var_name: UNREGISTER_ACTION
focal_class.declarator: INITIALIZE_ACTION = "initialize"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String INITIALIZE_ACTION = "initialize";
focal_class.type: String
focal_class.var_name: INITIALIZE_ACTION
focal_class.declarator: DESTROY_ACTION = "destroy"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String DESTROY_ACTION = "destroy";
focal_class.type: String
focal_class.var_name: DESTROY_ACTION
focal_class.declarator: eventDispatcher = EventDispatcher.getDefaultExtension()
focal_class.modifier: protected final
focal_class.original_string: protected final EventDispatcher eventDispatcher = EventDispatcher.getDefaultExtension();
focal_class.type: EventDispatcher
focal_class.var_name: eventDispatcher
focal_class.declarator: initialized = new AtomicBoolean(false)
focal_class.modifier: protected final
focal_class.original_string: protected final AtomicBoolean initialized = new AtomicBoolean(false);
focal_class.type: AtomicBoolean
focal_class.var_name: initialized
focal_class.declarator: destroyed = new AtomicBoolean(false)
focal_class.modifier: protected final
focal_class.original_string: protected final AtomicBoolean destroyed = new AtomicBoolean(false);
focal_class.type: AtomicBoolean
focal_class.var_name: destroyed
focal_class.declarator: logger = LoggerFactory.getLogger(getClass())
focal_class.modifier: protected final
focal_class.original_string: protected final Logger logger = LoggerFactory.getLogger(getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: serviceDiscovery
focal_class.modifier: private final
focal_class.original_string: private final ServiceDiscovery serviceDiscovery;
focal_class.type: ServiceDiscovery
focal_class.var_name: serviceDiscovery
focal_class.file: dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/EventPublishingServiceDiscovery.java
focal_class.identifier: EventPublishingServiceDiscovery
focal_class.interfaces: implements ServiceDiscovery
focal_class.class_method_signature: EventPublishingServiceDiscovery.EventPublishingServiceDiscovery(ServiceDiscovery serviceDiscovery)
focal_class.full_signature: protected  EventPublishingServiceDiscovery(ServiceDiscovery serviceDiscovery)
focal_class.identifier: EventPublishingServiceDiscovery
focal_class.modifiers: protected
focal_class.parameters: (ServiceDiscovery serviceDiscovery)
focal_class.signature:  EventPublishingServiceDiscovery(ServiceDiscovery serviceDiscovery)
focal_class.class_method_signature: EventPublishingServiceDiscovery.register(ServiceInstance serviceInstance)
focal_class.full_signature: @Override public final void register(ServiceInstance serviceInstance)
focal_class.identifier: register
focal_class.modifiers: @Override public final
focal_class.parameters: (ServiceInstance serviceInstance)
focal_class.return: void
focal_class.signature: void register(ServiceInstance serviceInstance)
focal_class.class_method_signature: EventPublishingServiceDiscovery.update(ServiceInstance serviceInstance)
focal_class.full_signature: @Override public final void update(ServiceInstance serviceInstance)
focal_class.identifier: update
focal_class.modifiers: @Override public final
focal_class.parameters: (ServiceInstance serviceInstance)
focal_class.return: void
focal_class.signature: void update(ServiceInstance serviceInstance)
focal_class.class_method_signature: EventPublishingServiceDiscovery.unregister(ServiceInstance serviceInstance)
focal_class.full_signature: @Override public final void unregister(ServiceInstance serviceInstance)
focal_class.identifier: unregister
focal_class.modifiers: @Override public final
focal_class.parameters: (ServiceInstance serviceInstance)
focal_class.return: void
focal_class.signature: void unregister(ServiceInstance serviceInstance)
focal_class.class_method_signature: EventPublishingServiceDiscovery.getServices()
focal_class.full_signature: @Override public Set<String> getServices()
focal_class.identifier: getServices
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getServices()
focal_class.class_method_signature: EventPublishingServiceDiscovery.getInstances(String serviceName)
focal_class.full_signature: @Override public List<ServiceInstance> getInstances(String serviceName)
focal_class.identifier: getInstances
focal_class.modifiers: @Override public
focal_class.parameters: (String serviceName)
focal_class.return: List<ServiceInstance>
focal_class.signature: List<ServiceInstance> getInstances(String serviceName)
focal_class.class_method_signature: EventPublishingServiceDiscovery.getInstances(String serviceName, int offset, int pageSize)
focal_class.full_signature: @Override public Page<ServiceInstance> getInstances(String serviceName, int offset, int pageSize)
focal_class.identifier: getInstances
focal_class.modifiers: @Override public
focal_class.parameters: (String serviceName, int offset, int pageSize)
focal_class.return: Page<ServiceInstance>
focal_class.signature: Page<ServiceInstance> getInstances(String serviceName, int offset, int pageSize)
focal_class.class_method_signature: EventPublishingServiceDiscovery.getInstances(String serviceName, int offset, int pageSize, boolean healthyOnly)
focal_class.full_signature: @Override public Page<ServiceInstance> getInstances(String serviceName, int offset, int pageSize, boolean healthyOnly)
focal_class.identifier: getInstances
focal_class.modifiers: @Override public
focal_class.parameters: (String serviceName, int offset, int pageSize, boolean healthyOnly)
focal_class.return: Page<ServiceInstance>
focal_class.signature: Page<ServiceInstance> getInstances(String serviceName, int offset, int pageSize, boolean healthyOnly)
focal_class.class_method_signature: EventPublishingServiceDiscovery.getInstances(Iterable<String> serviceNames, int offset, int requestSize)
focal_class.full_signature: @Override public Map<String, Page<ServiceInstance>> getInstances(Iterable<String> serviceNames, int offset, int requestSize)
focal_class.identifier: getInstances
focal_class.modifiers: @Override public
focal_class.parameters: (Iterable<String> serviceNames, int offset, int requestSize)
focal_class.return: Map<String, Page<ServiceInstance>>
focal_class.signature: Map<String, Page<ServiceInstance>> getInstances(Iterable<String> serviceNames, int offset, int requestSize)
focal_class.class_method_signature: EventPublishingServiceDiscovery.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: EventPublishingServiceDiscovery.addServiceInstancesChangedListener(ServiceInstancesChangedListener listener)
focal_class.full_signature: @Override public void addServiceInstancesChangedListener(ServiceInstancesChangedListener listener)
focal_class.identifier: addServiceInstancesChangedListener
focal_class.modifiers: @Override public
focal_class.parameters: (ServiceInstancesChangedListener listener)
focal_class.return: void
focal_class.signature: void addServiceInstancesChangedListener(ServiceInstancesChangedListener listener)
focal_class.class_method_signature: EventPublishingServiceDiscovery.getUrl()
focal_class.full_signature: @Override public URL getUrl()
focal_class.identifier: getUrl
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: URL
focal_class.signature: URL getUrl()
focal_class.class_method_signature: EventPublishingServiceDiscovery.getLocalInstance()
focal_class.full_signature: @Override public ServiceInstance getLocalInstance()
focal_class.identifier: getLocalInstance
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ServiceInstance
focal_class.signature: ServiceInstance getLocalInstance()
focal_class.class_method_signature: EventPublishingServiceDiscovery.initialize(URL registryURL)
focal_class.full_signature: @Override public void initialize(URL registryURL)
focal_class.identifier: initialize
focal_class.modifiers: @Override public
focal_class.parameters: (URL registryURL)
focal_class.return: void
focal_class.signature: void initialize(URL registryURL)
focal_class.class_method_signature: EventPublishingServiceDiscovery.destroy()
focal_class.full_signature: @Override public void destroy()
focal_class.identifier: destroy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void destroy()
focal_class.class_method_signature: EventPublishingServiceDiscovery.executeWithEvents(Optional<? extends Event> beforeEvent,
                                             ThrowableAction action,
                                             Optional<? extends Event> afterEvent)
focal_class.full_signature: protected final void executeWithEvents(Optional<? extends Event> beforeEvent,
                                             ThrowableAction action,
                                             Optional<? extends Event> afterEvent)
focal_class.identifier: executeWithEvents
focal_class.modifiers: protected final
focal_class.parameters: (Optional<? extends Event> beforeEvent,
                                             ThrowableAction action,
                                             Optional<? extends Event> afterEvent)
focal_class.return: void
focal_class.signature: void executeWithEvents(Optional<? extends Event> beforeEvent,
                                             ThrowableAction action,
                                             Optional<? extends Event> afterEvent)
focal_class.class_method_signature: EventPublishingServiceDiscovery.dispatchEvent(Event event)
focal_class.full_signature: private void dispatchEvent(Event event)
focal_class.identifier: dispatchEvent
focal_class.modifiers: private
focal_class.parameters: (Event event)
focal_class.return: void
focal_class.signature: void dispatchEvent(Event event)
focal_class.class_method_signature: EventPublishingServiceDiscovery.isInitialized()
focal_class.full_signature: public final boolean isInitialized()
focal_class.identifier: isInitialized
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isInitialized()
focal_class.class_method_signature: EventPublishingServiceDiscovery.isDestroyed()
focal_class.full_signature: public final boolean isDestroyed()
focal_class.identifier: isDestroyed
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDestroyed()
focal_class.class_method_signature: EventPublishingServiceDiscovery.assertDestroyed(String action)
focal_class.full_signature: protected void assertDestroyed(String action)
focal_class.identifier: assertDestroyed
focal_class.modifiers: protected
focal_class.parameters: (String action)
focal_class.return: void
focal_class.signature: void assertDestroyed(String action)
focal_class.class_method_signature: EventPublishingServiceDiscovery.assertInitialized(String action)
focal_class.full_signature: protected void assertInitialized(String action)
focal_class.identifier: assertInitialized
focal_class.modifiers: protected
focal_class.parameters: (String action)
focal_class.return: void
focal_class.signature: void assertInitialized(String action)
focal_method.body: @Override
      public List<ServiceInstance> getInstances(String serviceName) throws NullPointerException {
          return serviceDiscovery.getInstances(serviceName);
      }
focal_method.class_method_signature: EventPublishingServiceDiscovery.getInstances(String serviceName)
focal_method.full_signature: @Override public List<ServiceInstance> getInstances(String serviceName)
focal_method.identifier: getInstances
focal_method.invocations: getInstances
focal_method.modifiers: @Override public
focal_method.parameters: (String serviceName)
focal_method.return: List<ServiceInstance>
focal_method.signature: List<ServiceInstance> getInstances(String serviceName)