|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordWriteChannel
A WritableByteChannel
for writing records to an 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)
.
Method Summary | |
---|---|
void |
closeFinally()
Closes the file. |
int |
write(java.nio.ByteBuffer src,
java.lang.String sequenceKey)
Writes the data out to FileWriteChannel. |
Methods inherited from interface java.nio.channels.WritableByteChannel |
---|
write |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |