@InterfaceAudience.Private public class ExclusiveMemoryMmapIOEngine extends FileMmapIOEngine
bufferArray, LOG, path, size
filePaths
Constructor and Description |
---|
ExclusiveMemoryMmapIOEngine(String filePath,
long capacity) |
Modifier and Type | Method and Description |
---|---|
Cacheable |
read(BucketEntry be)
Transfers data from IOEngine to a Cacheable object.
|
isPersistent, shutdown, sync, toString, write, write
calculateChecksum, verifyFileIntegrity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
usesSharedMemory
public ExclusiveMemoryMmapIOEngine(String filePath, long capacity) throws IOException
IOException
public Cacheable read(BucketEntry be) throws IOException
IOEngine
read
in interface IOEngine
read
in class FileMmapIOEngine
be
- maintains an (offset,len,refCnt) inside.IOException
- when any IO error happenCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.