Class UploadCountingInputStreamMetrics

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.ProxyInputStream
org.apache.commons.io.input.CountingInputStream
fr.gouv.vitam.storage.engine.common.metrics.UploadCountingInputStreamMetrics
All Implemented Interfaces:
Closeable, AutoCloseable

public class UploadCountingInputStreamMetrics extends org.apache.commons.io.input.CountingInputStream
  • Field Details

    • UPLOAD_BYTES

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

      protected final String tenant
    • strategy

      protected final String strategy
    • offerId

      protected final String offerId
    • origin

      protected final String origin
    • dataCategory

      protected final String dataCategory
  • Constructor Details

  • Method Details

    • onEndOfFileReached

      protected void onEndOfFileReached()
    • afterRead

      protected void afterRead(int n) throws IOException
      Overrides:
      afterRead in class org.apache.commons.io.input.CountingInputStream
      Throws:
      IOException