Class DownloadCountingInputStreamMetrics

  • All Implemented Interfaces:, java.lang.AutoCloseable

    public class DownloadCountingInputStreamMetrics
    • Field Summary

      Modifier and Type Field Description
      protected java.lang.String dataCategory  
      static io.prometheus.client.Summary DOWNLOAD_BYTES  
      protected java.lang.String offerId  
      protected java.lang.String origin  
      protected java.lang.String strategy  
      protected java.lang.String tenant  
      • Fields inherited from class

    • Constructor Summary

      Constructor Description
      DownloadCountingInputStreamMetrics​(java.lang.Integer tenant, java.lang.String strategy, java.lang.String offerId, java.lang.String origin, DataCategory dataCategory, inputStream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void afterRead​(int n)  
      protected void onEndOfFileReached()  
      • Methods inherited from class

        getByteCount, getCount, resetByteCount, resetCount, skip
      • Methods inherited from class

        available, beforeRead, close, handleIOException, mark, markSupported, read, read, read, reset
      • Methods inherited from class

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final io.prometheus.client.Summary DOWNLOAD_BYTES
      • tenant

        protected final java.lang.String tenant
      • strategy

        protected final java.lang.String strategy
      • offerId

        protected final java.lang.String offerId
      • origin

        protected final java.lang.String origin
      • dataCategory

        protected final java.lang.String dataCategory
    • Constructor Detail

      • DownloadCountingInputStreamMetrics

        public DownloadCountingInputStreamMetrics​(java.lang.Integer tenant,
                                                  java.lang.String strategy,
                                                  java.lang.String offerId,
                                                  java.lang.String origin,
                                                  DataCategory dataCategory,
    • Method Detail

      • onEndOfFileReached

        protected void onEndOfFileReached()
      • afterRead

        protected void afterRead​(int n)
        afterRead in class