Configurable, ErasureCoder@Private public class RSErasureEncoder extends ErasureEncoder
ErasureCoder.| Constructor | Description |
|---|---|
RSErasureEncoder(ErasureCoderOptions options) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
preferDirectBuffer() |
Tell if direct or off-heap buffer is preferred or not.
|
protected ErasureCodingStep |
prepareEncodingStep(ECBlockGroup blockGroup) |
Perform encoding against a block group.
|
void |
release() |
Release the resources if any.
|
calculateCoding, getInputBlocks, getNumDataUnits, getNumParityUnits, getOptions, getOutputBlocksgetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic RSErasureEncoder(ErasureCoderOptions options)
protected ErasureCodingStep prepareEncodingStep(ECBlockGroup blockGroup)
ErasureEncoderprepareEncodingStep in class ErasureEncoderblockGroup - blockGroup.public void release()
ErasureCoderrelease in interface ErasureCoderrelease in class ErasureEncoderpublic boolean preferDirectBuffer()
ErasureCoderpreferDirectBuffer in interface ErasureCoderpreferDirectBuffer in class ErasureEncoderCopyright © 2008–2025 Apache Software Foundation. All rights reserved.