/** * Returns the client specific {@link RequestMetricCollector}; or null if * there is none. */ public RequestMetricCollector getRequestMetricsCollector() { return client.getRequestMetricCollector(); }
/** * Returns the client specific request metric collector if there is one; or * the one at the AWS SDK level otherwise. */ protected RequestMetricCollector requestMetricCollector() { RequestMetricCollector mc = client.getRequestMetricCollector(); return mc == null ? AwsSdkMetrics.getRequestMetricCollector() : mc; }
/** * Returns the client specific {@link RequestMetricCollector}; or null if * there is none. */ public RequestMetricCollector getRequestMetricsCollector() { return client.getRequestMetricCollector(); }
/** * @return the client specific {@link RequestMetricCollector}; or null if * there is none. * * @deprecated metrics is deprecated */ @Deprecated public RequestMetricCollector getRequestMetricsCollector() { return client.getRequestMetricCollector(); }
/** * Returns the client specific request metric collector if there is one; or * the one at the AWS SDK level otherwise. */ protected RequestMetricCollector requestMetricCollector() { RequestMetricCollector mc = client.getRequestMetricCollector(); return mc == null ? AwsSdkMetrics.getRequestMetricCollector() : mc; }
/** * @return the client specific request metric collector if there is one; or * the one at the AWS SDK level otherwise. * * @deprecated metrics is deprecated */ @Deprecated protected RequestMetricCollector requestMetricCollector() { final RequestMetricCollector mc = client.getRequestMetricCollector(); return mc == null ? AwsSdkMetrics.getRequestMetricCollector() : mc; }
/** * @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); }
/** * Returns the client specific {@link RequestMetricCollector}; or null if * there is none. */ public RequestMetricCollector getRequestMetricsCollector() { return client.getRequestMetricCollector(); }
/** * @return the client specific {@link RequestMetricCollector}; or null if * there is none. * * @deprecated metrics is deprecated */ @Deprecated public RequestMetricCollector getRequestMetricsCollector() { return client.getRequestMetricCollector(); }
/** * @return the client specific {@link RequestMetricCollector}; or null if * there is none. * * @deprecated metrics is deprecated */ @Deprecated public RequestMetricCollector getRequestMetricsCollector() { return client.getRequestMetricCollector(); }
/** * @return the client specific request metric collector if there is one; or * the one at the AWS SDK level otherwise. * * @deprecated metrics is deprecated */ @Deprecated protected RequestMetricCollector requestMetricCollector() { final RequestMetricCollector mc = client.getRequestMetricCollector(); return mc == null ? AwsSdkMetrics.getRequestMetricCollector() : mc; }
/** * @return the client specific request metric collector if there is one; or * the one at the AWS SDK level otherwise. * * @deprecated metrics is deprecated */ @Deprecated protected RequestMetricCollector requestMetricCollector() { final RequestMetricCollector mc = client.getRequestMetricCollector(); return mc == null ? AwsSdkMetrics.getRequestMetricCollector() : mc; }
/** * Returns the client specific request metric collector if there is one; or * the one at the AWS SDK level otherwise. */ protected RequestMetricCollector requestMetricCollector() { RequestMetricCollector mc = client.getRequestMetricCollector(); return mc == null ? AwsSdkMetrics.getRequestMetricCollector() : mc; }
/** * @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); }