Package | Description |
---|---|
bt.data.file |
Modifier and Type | Method and Description |
---|---|
void |
OpenFileCache.close(FileCacheKey key)
Close the file associated with this cache key if it is open
|
boolean |
OpenFileCache.existsOnFileSystem(FileCacheKey key)
Check if the the File exists on the file system.
|
int |
OpenFileCache.readBlock(FileCacheKey key,
ByteBuffer buffer,
long offset)
Read a block from the provided file cache key
|
void |
OpenFileCache.readBlockFully(FileCacheKey key,
ByteBuffer buffer,
long offset)
Fully read a block from the provided file cache key
|
long |
OpenFileCache.size(FileCacheKey key)
Get the size of the file referred to by key on disk
|
int |
OpenFileCache.writeBlock(FileCacheKey key,
ByteBuffer buffer,
long offset)
Write a block to the provided file cache key
|
int |
OpenFileCache.writeBlock(FileCacheKey key,
ByteBufferView buffer,
long offset)
Write a block to the provided file cache key
|
void |
OpenFileCache.writeBlockFully(FileCacheKey key,
ByteBuffer buffer,
long offset)
Fully write a block from the provided file cache key
|
void |
OpenFileCache.writeBlockFully(FileCacheKey key,
ByteBufferView buffer,
long offset)
Fully write a block from the provided file cache key
|
Copyright © 2016–2021. All rights reserved.