| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.util |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method | Description |
|---|---|---|
static StripedBlockUtil.AlignedStripe[] |
StripedBlockUtil.divideByteRangeIntoStripes(ErasureCodingPolicy ecPolicy,
int cellSize,
LocatedStripedBlock blockGroup,
long rangeStartInBlockGroup,
long rangeEndInBlockGroup,
java.nio.ByteBuffer buf) |
This method divides a requested byte range into an array of inclusive
StripedBlockUtil.AlignedStripe. |
static StripedBlockUtil.AlignedStripe[] |
StripedBlockUtil.divideOneStripe(ErasureCodingPolicy ecPolicy,
int cellSize,
LocatedStripedBlock blockGroup,
long rangeStartInBlockGroup,
long rangeEndInBlockGroup,
java.nio.ByteBuffer buf) |
Similar functionality with
StripedBlockUtil.divideByteRangeIntoStripes(org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy, int, org.apache.hadoop.hdfs.protocol.LocatedStripedBlock, long, long, java.nio.ByteBuffer), but is used
by stateful read and uses ByteBuffer as reading target buffer. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.