public class ConsolePersistWriter extends Object implements StreamsPersistWriter
Modifier and Type | Field and Description |
---|---|
protected Queue<StreamsDatum> |
persistQueue |
Constructor and Description |
---|
ConsolePersistWriter() |
ConsolePersistWriter(PrintStream printStream) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
String |
getId() |
void |
prepare(Object configuration) |
void |
write(StreamsDatum entry) |
protected volatile Queue<StreamsDatum> persistQueue
public ConsolePersistWriter()
public ConsolePersistWriter(PrintStream printStream)
public String getId()
getId
in interface StreamsOperation
public void prepare(Object configuration)
prepare
in interface StreamsOperation
public void cleanUp()
cleanUp
in interface StreamsOperation
public void write(StreamsDatum entry)
write
in interface StreamsPersistWriter
Copyright © 2018 The Apache Software Foundation. All rights reserved.