FilePathCache.FileCache
A file with a read cache.
| Methods |
| void |
force(boolean metaData)
|
| void |
force(boolean metaData) throws IOException
|
| void |
implCloseChannel()
|
| void |
implCloseChannel() throws IOException
|
| FileChannel |
position(long newPosition)
|
| FileChannel |
position(long newPosition) throws IOException
|
| long |
position()
|
| long |
position() throws IOException
|
| int |
read(ByteBuffer dst)
|
| int |
read(ByteBuffer dst) throws IOException
|
| int |
read(ByteBuffer dst, long position)
|
| int |
read(ByteBuffer dst, long position) throws IOException
|
| long |
size()
|
| long |
size() throws IOException
|
| String |
toString()
|
| String |
toString()
|
| FileChannel |
truncate(long newSize)
|
| FileChannel |
truncate(long newSize) throws IOException
|
| FileLock |
tryLock(long position, long size, boolean shared)
|
| FileLock |
tryLock(long position, long size, boolean shared) throws IOException
|
| int |
write(ByteBuffer src, long position)
|
| int |
write(ByteBuffer src, long position) throws IOException
|
| int |
write(ByteBuffer src)
|
| int |
write(ByteBuffer src) throws IOException
|
|