public class BlockLogReader extends Object implements ReadableByteChannel
BlockLogBuffer, sits on the receiving end and
reads chunks of log. It is provided with a ChannelBuffer which feeds
a series of chunks formatted as follows:
| Constructor and Description |
|---|
BlockLogReader(org.jboss.netty.buffer.ChannelBuffer source) |
public BlockLogReader(org.jboss.netty.buffer.ChannelBuffer source)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionpublic int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.