@Override public void shutdown() { client.shutdown(); }
@Override protected void finalize() throws Throwable { this.shutdown(); super.finalize(); }
/** * Shuts down this client object, releasing any resources that might be held * open. This is an optional method, and callers are not expected to call * it, but can if they want to explicitly release any open resources. Once a * client has been shutdown, it should not be used to make any more * requests. */ public void shutdown() { if (agentMonitoringListener != null) { agentMonitoringListener.shutdown(); } client.shutdown(); }
/** * Shuts down this client object, releasing any resources that might be held * open. This is an optional method, and callers are not expected to call * it, but can if they want to explicitly release any open resources. Once a * client has been shutdown, it should not be used to make any more * requests. */ public void shutdown() { client.shutdown(); }
@Override public void shutdown() { client.shutdown(); }
@Override protected void finalize() throws Throwable { this.shutdown(); super.finalize(); }
@Override protected void finalize() throws Throwable { this.shutdown(); super.finalize(); }
/** * Shuts down this client object, releasing any resources that might be held * open. This is an optional method, and callers are not expected to call * it, but can if they want to explicitly release any open resources. Once a * client has been shutdown, it should not be used to make any more * requests. */ public void shutdown() { if (agentMonitoringListener != null) { agentMonitoringListener.shutdown(); } client.shutdown(); }
/** * @deprecated by client configuration via the constructor. This method will * be removed later on. * @param clientConfiguration the client configuration. */ @Deprecated @SuppressWarnings("checkstyle:hiddenfield") public void setConfiguration(final ClientConfiguration clientConfiguration) { final AmazonHttpClient existingClient = this.client; RequestMetricCollector requestMetricCollector = null; if (existingClient != null) { requestMetricCollector = existingClient.getRequestMetricCollector(); existingClient.shutdown(); } this.clientConfiguration = clientConfiguration; this.client = new AmazonHttpClient(clientConfiguration, requestMetricCollector); }
/** * Shuts down this client object, releasing any resources that might be held * open. This is an optional method, and callers are not expected to call * it, but can if they want to explicitly release any open resources. Once a * client has been shutdown, it should not be used to make any more * requests. */ public void shutdown() { client.shutdown(); }
/** * Shuts down this client object, releasing any resources that might be held * open. This is an optional method, and callers are not expected to call * it, but can if they want to explicitly release any open resources. Once a * client has been shutdown, it should not be used to make any more * requests. */ public void shutdown() { client.shutdown(); }
/** * Shuts down this client object, releasing any resources that might be held * open. This is an optional method, and callers are not expected to call * it, but can if they want to explicitly release any open resources. Once a * client has been shutdown, it should not be used to make any more * requests. */ public void shutdown() { client.shutdown(); }
@Override public void shutdown() { client.shutdown(); }
@Override protected void finalize() throws Throwable { this.shutdown(); super.finalize(); }
@Override protected void finalize() throws Throwable { this.shutdown(); super.finalize(); }
@Override protected void finalize() throws Throwable { this.shutdown(); super.finalize(); }
/** * @deprecated by client configuration via the constructor. This method will * be removed later on. * @param clientConfiguration the client configuration. */ @Deprecated @SuppressWarnings("checkstyle:hiddenfield") public void setConfiguration(final ClientConfiguration clientConfiguration) { final AmazonHttpClient existingClient = this.client; RequestMetricCollector requestMetricCollector = null; if (existingClient != null) { requestMetricCollector = existingClient.getRequestMetricCollector(); existingClient.shutdown(); } this.clientConfiguration = clientConfiguration; this.client = new AmazonHttpClient(clientConfiguration, requestMetricCollector); }
/** * @deprecated by client configuration via the constructor. This method will * be removed later on. * @param clientConfiguration the client configuration. */ @Deprecated @SuppressWarnings("checkstyle:hiddenfield") public void setConfiguration(final ClientConfiguration clientConfiguration) { final AmazonHttpClient existingClient = this.client; RequestMetricCollector requestMetricCollector = null; if (existingClient != null) { requestMetricCollector = existingClient.getRequestMetricCollector(); existingClient.shutdown(); } this.clientConfiguration = clientConfiguration; this.client = new AmazonHttpClient(clientConfiguration, requestMetricCollector); }