public class ConsolePersistReader extends Object implements StreamsPersistReader
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
inputStream |
protected Queue<StreamsDatum> |
persistQueue |
| Constructor and Description |
|---|
ConsolePersistReader() |
ConsolePersistReader(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
String |
getId() |
boolean |
isRunning() |
void |
prepare(Object configuration) |
StreamsResultSet |
readAll() |
StreamsResultSet |
readCurrent() |
StreamsResultSet |
readNew(BigInteger sequence) |
StreamsResultSet |
readRange(org.joda.time.DateTime start,
org.joda.time.DateTime end) |
void |
startStream() |
protected volatile Queue<StreamsDatum> persistQueue
protected InputStream inputStream
public ConsolePersistReader()
public ConsolePersistReader(InputStream inputStream)
public String getId()
getId in interface StreamsOperationpublic void prepare(Object configuration)
prepare in interface StreamsOperationpublic void cleanUp()
cleanUp in interface StreamsOperationpublic void startStream()
startStream in interface StreamsProviderpublic StreamsResultSet readAll()
readAll in interface StreamsPersistReaderpublic StreamsResultSet readCurrent()
readCurrent in interface StreamsProviderpublic StreamsResultSet readNew(BigInteger sequence)
readNew in interface StreamsPersistReaderreadNew in interface StreamsProviderpublic StreamsResultSet readRange(org.joda.time.DateTime start, org.joda.time.DateTime end)
readRange in interface StreamsPersistReaderreadRange in interface StreamsProviderpublic boolean isRunning()
isRunning in interface StreamsProviderCopyright © 2018 The Apache Software Foundation. All rights reserved.