ErasureDecodingStep, ErasureEncodingStep, HHErasureCodingStep, HHXORErasureDecodingStep, HHXORErasureEncodingStep@Private
public interface ErasureCodingStep
| 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.
|
void |
performCoding(ECChunk[] inputChunks,
ECChunk[] outputChunks) |
Perform encoding or decoding given the input chunks, and generated results
will be written to the output chunks.
|
ECBlock[] getInputBlocks()
ECBlock[] getOutputBlocks()
void performCoding(ECChunk[] inputChunks, ECChunk[] outputChunks) throws java.io.IOException
inputChunks - inputChunks.outputChunks - outputChunks.java.io.IOException - raised on errors performing I/O.void finish()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.