@InterfaceAudience.Private public class ExclusiveMemoryMmapIOEngine extends FileMmapIOEngine
bufferArray, LOG, path, sizefilePaths| 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, writecalculateChecksum, verifyFileIntegrityclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitusesSharedMemorypublic ExclusiveMemoryMmapIOEngine(String filePath, long capacity) throws IOException
IOExceptionpublic Cacheable read(BucketEntry be) throws IOException
IOEngineread in interface IOEngineread in class FileMmapIOEnginebe - maintains an (offset,len,refCnt) inside.IOException - when any IO error happenCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.