Class ZstdFrameProgression
java.lang.Object
com.github.luben.zstd.ZstdFrameProgression
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate intprivate longprivate longprivate intprivate long -
Constructor Summary
ConstructorsConstructorDescriptionZstdFrameProgression(long ingested, long consumed, long produced, long flushed, int currentJobID, int nbActiveWorkers) -
Method Summary
Modifier and TypeMethodDescriptionlongThe number of input bytes actually compressed.intThe last started job number.longThe number of compressed bytes flushed.longThe number of input bytes read and buffered.intThe number of workers actively compressing.longThe number of compressed bytes generated and buffered.
-
Field Details
-
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 Details
-
ZstdFrameProgression
public ZstdFrameProgression(long ingested, long consumed, long produced, long flushed, int currentJobID, int nbActiveWorkers)
-
-
Method Details
-
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.
-