java.io.Closeable, java.lang.AutoCloseable, MappableBlock@Private @Unstable public class NativePmemMappedBlock extends java.lang.Object implements MappableBlock
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
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.
|
public long getLength()
MappableBlockgetLength in interface MappableBlockpublic long getAddress()
MappableBlockgetAddress in interface MappableBlockpublic org.apache.hadoop.hdfs.ExtendedBlockId getKey()
MappableBlockgetKey in interface MappableBlockpublic void close()
close in interface java.lang.AutoCloseableclose in interface java.io.CloseableCopyright © 2008–2025 Apache Software Foundation. All rights reserved.