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