@Test public void testResourceConfig() { ClouderaManagerClientBuilder builder = new ClouderaManagerClientBuilder(); ApiRootResource a = newProxy(builder); assertNotNull(a); ApiRootResource b = newProxy(builder); assertNotNull(b); ClouderaManagerClientBuilder.clearCachedResources(); assertNotNull(newProxy(builder)); }
public static void clearCachedResources() { clientStaticResources.invalidateAll(); }
ClouderaManagerClientBuilder { public static void clearCachedResources() { clientStaticResources.invalidateAll(); } }
ClouderaManagerClientBuilder { public static void clearCachedResources() { clientStaticResources.invalidateAll(); }  }
ClouderaManagerClientBuilder { public static void clearCachedResources() { clientStaticResources.invalidateAll(); }  ClouderaManagerClientBuilder withAcceptLanguage(
      String acceptLaunguage); ClouderaManagerClientBuilder withBaseURL(URL baseUrl); ClouderaManagerClientBuilder withHost(String hostname); ClouderaManagerClientBuilder withPort(int port); ClouderaManagerClientBuilder enableTLS(); ClouderaManagerClientBuilder enableLogging(); ClouderaManagerClientBuilder setThreadSafe(boolean threadSafe); ClouderaManagerClientBuilder setMaintainSessionAcrossRequests(
      boolean maintainSessionAcrossRequests); ClouderaManagerClientBuilder withUsernamePassword(String username,
                                                           String password); ClouderaManagerClientBuilder withConnectionTimeout(
      long connectionTimeout,
      TimeUnit connectionTimeoutUnits); ClouderaManagerClientBuilder withReceiveTimeout(
      long receiveTimeout,
      TimeUnit receiveTimeoutUnits); ClouderaManagerClientBuilder disableTlsCertValidation(); ClouderaManagerClientBuilder disableTlsCnValidation(); ClouderaManagerClientBuilder enableStreamAutoClosure(); void setTrustManagers(TrustManager[] managers); ApiRootResource build(); static void closeClient(Object root); static void clearCachedResources(); }
ClouderaManagerClientBuilder { public static void clearCachedResources() { clientStaticResources.invalidateAll(); }  ClouderaManagerClientBuilder withAcceptLanguage(
      String acceptLaunguage); ClouderaManagerClientBuilder withBaseURL(URL baseUrl); ClouderaManagerClientBuilder withHost(String hostname); ClouderaManagerClientBuilder withPort(int port); ClouderaManagerClientBuilder enableTLS(); ClouderaManagerClientBuilder enableLogging(); ClouderaManagerClientBuilder setThreadSafe(boolean threadSafe); ClouderaManagerClientBuilder setMaintainSessionAcrossRequests(
      boolean maintainSessionAcrossRequests); ClouderaManagerClientBuilder withUsernamePassword(String username,
                                                           String password); ClouderaManagerClientBuilder withConnectionTimeout(
      long connectionTimeout,
      TimeUnit connectionTimeoutUnits); ClouderaManagerClientBuilder withReceiveTimeout(
      long receiveTimeout,
      TimeUnit receiveTimeoutUnits); ClouderaManagerClientBuilder disableTlsCertValidation(); ClouderaManagerClientBuilder disableTlsCnValidation(); ClouderaManagerClientBuilder enableStreamAutoClosure(); void setTrustManagers(TrustManager[] managers); ApiRootResource build(); static void closeClient(Object root); static void clearCachedResources(); static final int DEFAULT_TCP_PORT; static final long DEFAULT_CONNECTION_TIMEOUT; static final TimeUnit DEFAULT_CONNECTION_TIMEOUT_UNITS; static final long DEFAULT_RECEIVE_TIMEOUT; static final TimeUnit DEFAULT_RECEIVE_TIMEOUT_UNITS; }