Top Fields Constructors Methods
com.github.luben.zstd

public Class ZstdFrameProgression

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
private int
private long
private long
private int
private long

Constructor Summary

AccessConstructor and Description
public
ZstdFrameProgression(long ingested, long consumed, long produced, long flushed, int currentJobID, int nbActiveWorkers)

Method Summary

Modifier and TypeMethod and Description
public long
getConsumed()

The number of input bytes actually compressed.

public int
getCurrentJobID()

The last started job number.

public long
getFlushed()

The number of compressed bytes flushed.

public long
getIngested()

The number of input bytes read and buffered.

public int
getNbActiveWorkers()

The number of workers actively compressing.

public long
getProduced()

The number of compressed bytes generated and buffered.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

consumedback to summary
private long consumed
currentJobIDback to summary
private int currentJobID
flushedback to summary
private long flushed
ingestedback to summary
private long ingested
nbActiveWorkersback to summary
private int nbActiveWorkers
producedback to summary
private long produced

Constructor Detail

ZstdFrameProgressionback to summary
public ZstdFrameProgression(long ingested, long consumed, long produced, long flushed, int currentJobID, int nbActiveWorkers)

Method Detail

getConsumedback to summary
public long getConsumed()

The number of input bytes actually compressed.

Note

ingested - consumed = amount of input data buffered internally, not yet compressed.

getCurrentJobIDback to summary
public int getCurrentJobID()

The last started job number. Only applicable if multi-threading is enabled.

getFlushedback to summary
public long getFlushed()

The number of compressed bytes flushed.

getIngestedback to summary
public long getIngested()

The number of input bytes read and buffered.

getNbActiveWorkersback to summary
public int getNbActiveWorkers()

The number of workers actively compressing. Only applicable if multi-threading is enabled.

getProducedback to summary
public long getProduced()

The number of compressed bytes generated and buffered.