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 Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.