public class SynchronousPrefetchingRetrievalFactory extends Object implements RetrievalFactory
| Constructor and Description |
|---|
SynchronousPrefetchingRetrievalFactory(String streamName,
software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
RecordsFetcherFactory recordsFetcherFactory,
int maxRecords,
ExecutorService executorService,
long idleMillisBetweenCalls)
Deprecated.
|
SynchronousPrefetchingRetrievalFactory(String streamName,
software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
RecordsFetcherFactory recordsFetcherFactory,
int maxRecords,
ExecutorService executorService,
long idleMillisBetweenCalls,
Duration maxFutureWait) |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
GetRecordsRetrievalStrategy |
createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateGetRecordsCache@Deprecated public SynchronousPrefetchingRetrievalFactory(String streamName, software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient, RecordsFetcherFactory recordsFetcherFactory, int maxRecords, ExecutorService executorService, long idleMillisBetweenCalls)
public SynchronousPrefetchingRetrievalFactory(String streamName, software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient, RecordsFetcherFactory recordsFetcherFactory, int maxRecords, ExecutorService executorService, long idleMillisBetweenCalls, Duration maxFutureWait)
public GetRecordsRetrievalStrategy createGetRecordsRetrievalStrategy(@NonNull ShardInfo shardInfo, @NonNull MetricsFactory metricsFactory)
createGetRecordsRetrievalStrategy in interface RetrievalFactorypublic RecordsPublisher createGetRecordsCache(@NonNull ShardInfo shardInfo, @NonNull MetricsFactory metricsFactory)
createGetRecordsCache in interface RetrievalFactoryCopyright © 2020. All rights reserved.