public class SingleMappedFileCache extends Object implements MappedFileCache
| Modifier and Type | Field and Description |
|---|---|
static AtomicLong |
totalWait |
| Constructor and Description |
|---|
SingleMappedFileCache(String basePath,
int blockSize) |
public static final AtomicLong totalWait
public SingleMappedFileCache(String basePath, int blockSize) throws FileNotFoundException
FileNotFoundException@Nullable public MappedByteBuffer acquireBuffer(long index)
acquireBuffer in interface MappedFileCachepublic long findLast()
throws IOException
findLast in interface MappedFileCacheIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface MappedFileCacheCopyright © 2013. All Rights Reserved.