java.lang.AutoCloseable, java.io.CloseableMemoryMappedBlock, NativePmemMappedBlock, PmemMappedBlock@Private
@Unstable
public interface MappableBlock
extends java.io.Closeable
| Modifier and Type | Method | Description |
|---|---|---|
long |
getAddress() |
Get cache address if applicable.
|
org.apache.hadoop.hdfs.ExtendedBlockId |
getKey() |
Get cached block's ExtendedBlockId.
|
long |
getLength() |
Get the number of bytes that have been cached.
|
long getLength()
long getAddress()
org.apache.hadoop.hdfs.ExtendedBlockId getKey()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.