public class FileRecordStore extends java.lang.Object implements RecordStore
RecordStore.RecordIterator| Constructor and Description |
|---|
FileRecordStore(java.io.File recorderDirectory,
KinesisRecorderConfig config)
Creates the FileRecordStore
|
| Modifier and Type | Method and Description |
|---|---|
RecordStore.RecordIterator |
iterator()
Retrieve an iterator to parse through the saved records
|
boolean |
put(java.lang.String record)
Saves a text representation of a PutRecordRequest to be retrieved later.
|
public FileRecordStore(java.io.File recorderDirectory,
KinesisRecorderConfig config)
recorderDirectory - The directory (which the FileRecordStore is only used for the KinesisRecorder) to use to store requests inconfig - public boolean put(java.lang.String record)
RecordStoreput in interface RecordStorerecord - The text representation of the PutRecordRequestpublic RecordStore.RecordIterator iterator()
RecordStoreiterator in interface RecordStore