Class ZstdFrameProgression


  • public class ZstdFrameProgression
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ZstdFrameProgression​(long ingested, long consumed, long produced, long flushed, int currentJobID, int nbActiveWorkers)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getConsumed()
      The number of input bytes actually compressed.
      int getCurrentJobID()
      The last started job number.
      long getFlushed()
      The number of compressed bytes flushed.
      long getIngested()
      The number of input bytes read and buffered.
      int getNbActiveWorkers()
      The number of workers actively compressing.
      long getProduced()
      The number of compressed bytes generated and buffered.
      • Methods inherited from class java.lang.Object

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

      • ingested

        private long ingested
      • consumed

        private long consumed
      • produced

        private long produced
      • flushed

        private long flushed
      • currentJobID

        private int currentJobID
      • nbActiveWorkers

        private int nbActiveWorkers
    • Constructor Detail

      • ZstdFrameProgression

        public ZstdFrameProgression​(long ingested,
                                    long consumed,
                                    long produced,
                                    long flushed,
                                    int currentJobID,
                                    int nbActiveWorkers)
    • Method Detail

      • getIngested

        public long getIngested()
        The number of input bytes read and buffered.
      • getConsumed

        public long getConsumed()
        The number of input bytes actually compressed. Note: ingested - consumed = amount of input data buffered internally, not yet compressed.
      • getProduced

        public long getProduced()
        The number of compressed bytes generated and buffered.
      • getFlushed

        public long getFlushed()
        The number of compressed bytes flushed.
      • getCurrentJobID

        public int getCurrentJobID()
        The last started job number. Only applicable if multi-threading is enabled.
      • getNbActiveWorkers

        public int getNbActiveWorkers()
        The number of workers actively compressing. Only applicable if multi-threading is enabled.