public interface UTFWriter
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getFilename() |
boolean |
isClosed() |
String |
lock() |
long |
position() |
List<String> |
readContent()
reads the content
|
void |
resetContent()
resets the content of the file associated with die current transaction
|
void |
restoreSize(long filePosition) |
long |
size() |
void |
unlock(String lockToken) |
long |
write(String value)
writes a string to file
|
String lock() throws InterruptedException
InterruptedExceptionvoid unlock(String lockToken)
boolean isClosed()
@RequiresTransaction void resetContent() throws IOException
IOException@RequiresTransaction long write(String value) throws IOException
value - IOExceptionvoid close()
@RequiresTransaction String getFilename() throws IOException
IOExceptionList<String> readContent() throws IOException
IOExceptionlong size() throws IOException
IOExceptionvoid restoreSize(long filePosition)
throws IOException
IOExceptionlong position()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.