public class FanOutRetrievalFactory extends Object implements RetrievalFactory
| Constructor and Description |
|---|
FanOutRetrievalFactory() |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
MetricsFactory metricsFactory)
Creates a
RecordsPublisher instance to retrieve records for the specified shard. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateGetRecordsCache, createGetRecordsRetrievalStrategypublic RecordsPublisher createGetRecordsCache(@NonNull @NonNull ShardInfo shardInfo, @NonNull @NonNull StreamConfig streamConfig, @Nullable MetricsFactory metricsFactory)
RetrievalFactoryRecordsPublisher instance to retrieve records for the specified shard.createGetRecordsCache in interface RetrievalFactoryshardInfo - The ShardInfo representing the shard for which records are to be retrieved.streamConfig - The StreamConfig containing details for the stream.metricsFactory - The MetricsFactory for recording metrics.RecordsPublisher instance for retrieving records from the shard.Copyright © 2024. All rights reserved.