@Deprecated
public interface RecordWriteChannel
extends java.nio.channels.WritableByteChannel
WritableByteChannel
for writing records to a FileWriteChannel
.
The format of these records is defined by the leveldb log format: http://leveldb.googlecode.com/svn/trunk/doc/log_format.txt
An instance of RecordWriteChannel
may be obtained from the method:
FileService.openRecordWriteChannel(AppEngineFile, boolean)
.
WritableByteChannel
If one thread initiates a write operation upon a channel
then any other thread that attempts to initiate another write operation will block until the
first operation is complete.Modifier and Type | Method and Description |
---|---|
void |
closeFinally()
Deprecated.
Closes the file.
|
int |
write(java.nio.ByteBuffer src,
java.lang.String sequenceKey)
Deprecated.
Writes the data out to FileWriteChannel.
|
int write(java.nio.ByteBuffer src, java.lang.String sequenceKey) throws java.io.IOException
java.io.IOException
FileWriteChannel.write(ByteBuffer, String)
void closeFinally() throws java.lang.IllegalStateException, java.io.IOException
java.lang.IllegalStateException
java.io.IOException
FileWriteChannel.closeFinally()