NativePmemMappableBlockLoader@Private @Unstable public class PmemMappableBlockLoader extends MappableBlockLoader
| Constructor | Description |
|---|---|
PmemMappableBlockLoader() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getBlockId(java.io.File file) |
Parse the file name and get the BlockId.
|
long |
getCacheCapacity() |
|
long |
getCacheUsed() |
|
MappableBlock |
getRecoveredMappableBlock(java.io.File cacheFile,
java.lang.String bpid,
byte volumeIndex) |
|
boolean |
isNativeLoader() |
|
boolean |
isTransientCache() |
fillBuffer, verifyChecksumpublic long getCacheUsed()
public long getCacheCapacity()
public boolean isTransientCache()
public boolean isNativeLoader()
public MappableBlock getRecoveredMappableBlock(java.io.File cacheFile, java.lang.String bpid, byte volumeIndex) throws java.io.IOException
java.io.IOExceptionpublic long getBlockId(java.io.File file)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.