Adding the cache and the retriver stubs.
This commit is contained in:
parent
244da44d29
commit
190d8fb5aa
2 changed files with 22 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
package com.amazonaws.services.kinesis.clientlibrary.lib.worker;
|
||||
|
||||
import com.amazonaws.services.kinesis.model.GetRecordsResult;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public interface GetRecordsCache {
|
||||
void dispatchNextCall();
|
||||
|
||||
GetRecordsResult getNextResult();
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package com.amazonaws.services.kinesis.clientlibrary.lib.worker;
|
||||
|
||||
import com.amazonaws.services.kinesis.model.GetRecordsResult;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public interface GetRecordsRetriever {
|
||||
GetRecordsResult getRecords(int maxRecords);
|
||||
}
|
||||
Loading…
Reference in a new issue