public class InMemoryWriter extends Object implements ChukwaWriter
| Constructor and Description |
|---|
InMemoryWriter() |
public void close()
close in interface ChukwaWriterpublic void init(org.apache.hadoop.conf.Configuration conf)
throws WriterException
init in interface ChukwaWriterWriterExceptionpublic void add(Chunk data) throws WriterException
WriterExceptionpublic void add(List<Chunk> chunks) throws WriterException
add in interface ChukwaWriterWriterExceptionpublic Chunk readOutChunk(int bytes, int ms) throws IOException
bytes - amount to try to readms - time to waitIOExceptionCopyright © ${year} The Apache Software Foundation