Package io.hstream
Interface BufferedProducer
-
- All Superinterfaces:
AutoCloseable,Closeable,Producer
public interface BufferedProducer extends Producer, Closeable
The interface for the HStream BufferedProducer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()closes the buffered producer, will call flush() firstvoidflush()explicitly flush buffered records.
-
-
-
Method Detail
-
flush
void flush()
explicitly flush buffered records.
-
close
void close()
closes the buffered producer, will call flush() first- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-