ErasureCodingStepHHXORErasureDecodingStep, HHXORErasureEncodingStep@Private public abstract class HHErasureCodingStep extends java.lang.Object implements ErasureCodingStep
HHXORErasureEncodingStepand HHXORErasureDecodingStep.
It implements ErasureCodingStep.| Constructor | Description |
|---|---|
HHErasureCodingStep(ECBlock[] inputBlocks,
ECBlock[] outputBlocks) |
Constructor given input blocks and output blocks.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
finish() |
Notify erasure coder that all the chunks of input blocks are processed so
the coder can be able to update internal states, considering next step.
|
ECBlock[] |
getInputBlocks() |
Input blocks of readable data involved in this step, may be data blocks
or parity blocks.
|
ECBlock[] |
getOutputBlocks() |
Output blocks of writable buffers involved in this step, may be data
blocks or parity blocks.
|
protected int |
getSubPacketSize() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperformCodingprotected int getSubPacketSize()
public ECBlock[] getInputBlocks()
ErasureCodingStepgetInputBlocks in interface ErasureCodingSteppublic ECBlock[] getOutputBlocks()
ErasureCodingStepgetOutputBlocks in interface ErasureCodingSteppublic void finish()
ErasureCodingStepfinish in interface ErasureCodingStepCopyright © 2008–2025 Apache Software Foundation. All rights reserved.