| Modifier and Type | Field | Description |
|---|---|---|
static BlockListAsLongs |
BlockListAsLongs.EMPTY |
| Modifier and Type | Method | Description |
|---|---|---|
BlockListAsLongs |
BlockListAsLongs.Builder.build() |
|
static BlockListAsLongs |
BlockListAsLongs.decodeBuffer(int numBlocks,
org.apache.hadoop.thirdparty.protobuf.ByteString blocksBuf,
int maxDataLength) |
Prepare an instance to in-place decode the given ByteString buffer.
|
static BlockListAsLongs |
BlockListAsLongs.decodeBuffers(int numBlocks,
java.util.List<org.apache.hadoop.thirdparty.protobuf.ByteString> blocksBufs) |
Prepare an instance to in-place decode the given ByteString buffers.
|
static BlockListAsLongs |
BlockListAsLongs.decodeBuffers(int numBlocks,
java.util.List<org.apache.hadoop.thirdparty.protobuf.ByteString> blocksBufs,
int maxDataLength) |
Prepare an instance to in-place decode the given ByteString buffers.
|
static BlockListAsLongs |
BlockListAsLongs.decodeLongs(java.util.List<java.lang.Long> blocksList) |
Prepare an instance to in-place decode the given list of Longs.
|
static BlockListAsLongs |
BlockListAsLongs.decodeLongs(java.util.List<java.lang.Long> blocksList,
int maxDataLength) |
Prepare an instance to in-place decode the given list of Longs.
|
static BlockListAsLongs |
BlockListAsLongs.encode(java.util.Collection<? extends Replica> replicas) |
Prepare an instance to encode the collection of replicas into an
efficient ByteString.
|
static BlockListAsLongs |
BlockListAsLongs.readFrom(java.io.InputStream is,
int maxDataLength) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
BlockManager.processReport(org.apache.hadoop.hdfs.protocol.DatanodeID nodeID,
org.apache.hadoop.hdfs.server.protocol.DatanodeStorage storage,
BlockListAsLongs newReport,
BlockReportContext context) |
The given storage is reporting all its blocks.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<org.apache.hadoop.hdfs.server.protocol.DatanodeStorage,BlockListAsLongs> |
FsDatasetSpi.getBlockReports(java.lang.String bpid) |
Returns one block report per volume.
|
| Modifier and Type | Method | Description |
|---|---|---|
BlockListAsLongs |
StorageBlockReport.getBlocks() |
| Constructor | Description |
|---|---|
StorageBlockReport(org.apache.hadoop.hdfs.server.protocol.DatanodeStorage storage,
BlockListAsLongs blocks) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.