@Override public String toString() { return String.format( "providerId=%s, throughputType=%s, byteCount=%d, duration=%d", getProviderId(), throughputType, byteCount, duration); } }
@Override public void increment(int bytesDelta, long startTimeNano) { super.increment(bytesDelta, startTimeNano); } }
private void collectByteThroughput0(ByteThroughputProvider provider) { final ThroughputMetricType throughputType = provider.getThroughputMetricType(); final ServiceMetricType byteCountType = throughputType.getByteCountMetricType(); final Set<MetricType> metrics = AwsSdkMetrics.getPredefinedMetrics(); final double byteCount = provider.getByteCount(); double durationNano = provider.getDurationNano(); double bytesPerSec = bytesPerSecond(byteCount, durationNano); if (metrics.contains(throughputType)) {
private void collectByteThroughput0(ByteThroughputProvider provider) { final ThroughputMetricType throughputType = provider.getThroughputMetricType(); final ServiceMetricType byteCountType = throughputType.getByteCountMetricType(); final Set<MetricType> metrics = AwsSdkMetrics.getPredefinedMetrics(); final double byteCount = provider.getByteCount(); double durationNano = provider.getDurationNano(); double bytesPerSec = bytesPerSecond(byteCount, durationNano); if (metrics.contains(throughputType)) {
@Override public void increment(int bytesDelta, long startTimeNano) { super.increment(bytesDelta, startTimeNano); } }
@Override public String toString() { return String.format( "providerId=%s, throughputType=%s, byteCount=%d, duration=%d", getProviderId(), throughputType, byteCount, duration); } }
@Override public void increment(int bytesDelta, long startTimeNano) { super.increment(bytesDelta, startTimeNano); } }
@Override public String toString() { return String.format( "providerId=%s, throughputType=%s, byteCount=%d, duration=%d", getProviderId(), throughputType, byteCount, duration); } }
@Override public void increment(int bytesDelta, long startTimeNano) { super.increment(bytesDelta, startTimeNano); } }
@Override public String toString() { return String.format( "providerId=%s, throughputType=%s, byteCount=%d, duration=%d", getProviderId(), throughputType, byteCount, duration); } }
@Override public void increment(int bytesDelta, long startTimeNano) { super.increment(bytesDelta, startTimeNano); } }
@Override public String toString() { return String.format( "providerId=%s, throughputType=%s, byteCount=%d, duration=%d", getProviderId(), throughputType, byteCount, duration); } }
@Override public void increment(int bytesDelta, long startTimeNano) { super.increment(bytesDelta, startTimeNano); } }
@Override public String toString() { return String.format( "providerId=%s, throughputType=%s, byteCount=%d, duration=%d", getProviderId(), throughputType, byteCount, duration); } }