public class MemoryMappedFileFactory extends Object
MemoryMappedFile objects.| Constructor and Description |
|---|
MemoryMappedFileFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
File |
getFile() |
int |
getMappingSegementSize() |
MemoryMappedFile |
getMemoryMappedFile() |
boolean |
isReadOnly() |
void |
open() |
void |
setFile(File file) |
void |
setMappingSegementSize(int mappingSegementSize) |
void |
setReadOnly(boolean readOnly) |
public void open()
throws IOException
IOExceptionpublic void close()
public MemoryMappedFile getMemoryMappedFile() throws IOException
IOExceptionpublic File getFile()
public void setFile(File file)
public int getMappingSegementSize()
public void setMappingSegementSize(int mappingSegementSize)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
Copyright © 2009–2016 FuseSource, Corp.. All rights reserved.