Configurable, ErasureCoder@Private public class XORErasureDecoder extends ErasureDecoder
ErasureCoder.| Constructor | Description |
|---|---|
XORErasureDecoder(ErasureCoderOptions options) |
| Modifier and Type | Method | Description |
|---|---|---|
protected ECBlock[] |
getOutputBlocks(ECBlockGroup blockGroup) |
Which blocks were erased ? For XOR it's simple we only allow and return one
erased block, either data or parity.
|
protected ErasureCodingStep |
prepareDecodingStep(ECBlockGroup blockGroup) |
Perform decoding against a block blockGroup.
|
calculateCoding, getErasedIndexes, getInputBlocks, getNumDataUnits, getNumErasedBlocks, getNumErasedBlocks, getNumParityUnits, getOptions, preferDirectBuffer, releasegetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic XORErasureDecoder(ErasureCoderOptions options)
protected ErasureCodingStep prepareDecodingStep(ECBlockGroup blockGroup)
ErasureDecoderprepareDecodingStep in class ErasureDecoderblockGroup - blockGroup.protected ECBlock[] getOutputBlocks(ECBlockGroup blockGroup)
getOutputBlocks in class ErasureDecoderblockGroup - blockGroup.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.