@InterfaceAudience.Private public class ExclusiveMemoryMmapIOEngine extends FileMmapIOEngine
bufferArray, path, size| Constructor and Description |
|---|
ExclusiveMemoryMmapIOEngine(String filePath,
long capacity) |
| Modifier and Type | Method and Description |
|---|---|
Cacheable |
read(long offset,
int length,
CacheableDeserializer<Cacheable> deserializer)
Transfers data from IOEngine to a Cacheable object.
|
isPersistent, shutdown, sync, toString, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitusesSharedMemorypublic ExclusiveMemoryMmapIOEngine(String filePath, long capacity) throws IOException
IOExceptionpublic Cacheable read(long offset, int length, CacheableDeserializer<Cacheable> deserializer) throws IOException
IOEngineread in interface IOEngineread in class FileMmapIOEngineoffset - The offset in the IO engine where the first byte to be readlength - How many bytes to be read from the offsetdeserializer - The deserializer to be used to make a Cacheable from the data.IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.