FileRetryOnInterrupt
A file object that re-opens and re-tries the operation if the file was
closed.
| Methods |
| void |
force(boolean metaData)
|
| void |
force(boolean metaData) throws IOException
|
| void |
implCloseChannel()
|
| void |
implCloseChannel() throws IOException
|
| long |
position()
|
| long |
position() throws IOException
|
| FileChannel |
position(long pos)
|
| FileChannel |
position(long pos) 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 newLength)
|
| FileChannel |
truncate(long newLength) throws IOException
|
| FileLock |
tryLock(long position, long size, boolean shared)
|
| FileLock |
tryLock(long position, long size, boolean shared) throws IOException
|
| int |
write(ByteBuffer src)
|
| int |
write(ByteBuffer src) throws IOException
|
| int |
write(ByteBuffer src, long position)
|
| int |
write(ByteBuffer src, long position) throws IOException
|
|