T
- type of the output of the compressionpublic abstract class AbstractCODEC<T> extends Object implements CODEC<T>
Constructor and Description |
---|
AbstractCODEC()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
add(long bytesIn,
long bytesOut)
Adds the input/output byes of a compression.
|
void |
reset()
Resets the collection of statistics.
|
long[] |
stats()
Returns statistics of the CODEC in terms of total input/output bytes
processed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
co, dec, isIntegrated
protected void add(long bytesIn, long bytesOut)
bytesIn
- bytes readbytesOut
- bytes of the compressionpublic long[] stats()
CODEC
Copyright © 2016. All rights reserved.