@Test public void testGetServicesPool() throws Exception { ServiceDescriptors descriptors = createClient(createProcessor(null, null, "testingenvironment")) .getServices("testService", "testPool") .get(); assertDescriptorsExpected(descriptors, null, DEFAULT_DELAY); }
@Override public ListenableFuture<ServiceDescriptors> getServices(String type) { requireNonNull(type, "type is null"); return lookup(type, null, null); }
HttpDiscoveryLookupClient implements DiscoveryLookupClient { @Override public ListenableFuture<ServiceDescriptors> getServices(String type) { requireNonNull(type, "type is null"); return lookup(type, null, null); } }
HttpDiscoveryLookupClient implements DiscoveryLookupClient { @Override public ListenableFuture<ServiceDescriptors> getServices(String type) { requireNonNull(type, "type is null"); return lookup(type, null, null); } @Inject  HttpDiscoveryLookupClient(NodeInfo nodeInfo,
            JsonCodec<ServiceDescriptorsRepresentation> serviceDescriptorsCodec,
            @ForDiscoveryClient HttpClient httpClient,
            ServiceInventory serviceInventory); }
HttpDiscoveryLookupClient implements DiscoveryLookupClient { @Override public ListenableFuture<ServiceDescriptors> getServices(String type) { requireNonNull(type, "type is null"); return lookup(type, null, null); } @Inject  HttpDiscoveryLookupClient(NodeInfo nodeInfo,
            JsonCodec<ServiceDescriptorsRepresentation> serviceDescriptorsCodec,
            @ForDiscoveryClient HttpClient httpClient,
            ServiceInventory serviceInventory); @Flatten RequestStats getStats(); @Override ListenableFuture<ServiceDescriptors> getServices(String type); @Override ListenableFuture<ServiceDescriptors> getServices(String type, String pool); @Override ListenableFuture<ServiceDescriptors> refreshServices(ServiceDescriptors serviceDescriptors); }
HttpDiscoveryLookupClient implements DiscoveryLookupClient { @Override public ListenableFuture<ServiceDescriptors> getServices(String type) { requireNonNull(type, "type is null"); return lookup(type, null, null); } @Inject  HttpDiscoveryLookupClient(NodeInfo nodeInfo,
            JsonCodec<ServiceDescriptorsRepresentation> serviceDescriptorsCodec,
            @ForDiscoveryClient HttpClient httpClient,
            ServiceInventory serviceInventory); @Flatten RequestStats getStats(); @Override ListenableFuture<ServiceDescriptors> getServices(String type); @Override ListenableFuture<ServiceDescriptors> getServices(String type, String pool); @Override ListenableFuture<ServiceDescriptors> refreshServices(ServiceDescriptors serviceDescriptors);  }