public interface GetRecordsRetrievalStrategy
| Modifier and Type | Method and Description |
|---|---|
IDataFetcher |
getDataFetcher()
Returns the IDataFetcher used to getRecords
|
com.amazonaws.services.kinesis.model.GetRecordsResult |
getRecords(int maxRecords)
Gets a set of records from Kinesis.
|
boolean |
isShutdown()
Returns whether this strategy has been shutdown.
|
void |
shutdown()
Releases any resources used by the strategy.
|
com.amazonaws.services.kinesis.model.GetRecordsResult getRecords(int maxRecords)
maxRecords - passed to Kinesis, and can be used to restrict the number of records returned from Kinesis.IllegalStateException - if the strategy has been shutdown.void shutdown()
getRecords(int).boolean isShutdown()
IDataFetcher getDataFetcher()
Copyright © 2023. All rights reserved.