public interface DataWriter
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isOpen() |
boolean |
lock(long timeout)
Try to lock writer during specified time.
|
java.lang.String |
lockInfo()
For debug purposes, returns detailed information about current lock owner.
|
void |
openOrCreateBlock(long address,
long length) |
boolean |
release()
Releases writer
|
void |
sync() |
void |
syncDirectory() |
void |
write(byte[] b,
int off,
int len) |
boolean isOpen()
void write(byte[] b,
int off,
int len)
throws jetbrains.exodus.ExodusException
jetbrains.exodus.ExodusExceptionvoid sync()
void syncDirectory()
void close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablevoid openOrCreateBlock(long address,
long length)
boolean lock(long timeout)
timeout - - if writer is already locked try to lock it during specified timeout.boolean release()
java.lang.String lockInfo()