Class ServiceMetricCollector

  • Direct Known Subclasses:
    ServiceMetricCollectorSupport

    public abstract class ServiceMetricCollector
    extends Object
    A service provider interface that can be used to implement an AWS SDK general purpose metric collector.
    • Field Detail

      • NONE

        public static final ServiceMetricCollector NONE
        A convenient instance of a no-op service metric collector.
    • Constructor Detail

      • ServiceMetricCollector

        public ServiceMetricCollector()
    • Method Detail

      • collectByteThroughput

        public abstract void collectByteThroughput​(ByteThroughputProvider provider)
        Collects metrics on the number of bytes written or read and the respective duration.
      • collectLatency

        public abstract void collectLatency​(ServiceLatencyProvider provider)
        Collects metrics for non-request specific latencies.
      • isEnabled

        public boolean isEnabled()