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