| Modifier and Type | Method and Description |
|---|---|
MetricsFactory |
LeaseManagementConfig.metricsFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
LeaseCleanupManager |
LeaseManagementFactory.createLeaseCleanupManager(MetricsFactory metricsFactory) |
LeaseCoordinator |
LeaseManagementFactory.createLeaseCoordinator(MetricsFactory metricsFactory) |
ShardSyncTaskManager |
LeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory) |
default ShardSyncTaskManager |
LeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig) |
default ShardSyncTaskManager |
LeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig,
DeletedStreamListProvider deletedStreamListProvider) |
LeaseManagementConfig |
LeaseManagementConfig.metricsFactory(MetricsFactory metricsFactory)
Deprecated.
|
| Constructor and Description |
|---|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory)
Constructor.
|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
MetricsFactory metricsFactory)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected MetricsFactory |
DynamoDBLeaseCoordinator.metricsFactory |
| Modifier and Type | Method and Description |
|---|---|
LeaseCleanupManager |
DynamoDBLeaseManagementFactory.createLeaseCleanupManager(MetricsFactory metricsFactory)
LeaseCleanupManager cleans up leases in the lease table for shards which have either expired past the
stream's retention period or have been completely processed.
|
LeaseCoordinator |
DynamoDBLeaseManagementFactory.createLeaseCoordinator(@NonNull MetricsFactory metricsFactory) |
ShardSyncTaskManager |
DynamoDBLeaseManagementFactory.createShardSyncTaskManager(@NonNull MetricsFactory metricsFactory)
Deprecated.
|
ShardSyncTaskManager |
DynamoDBLeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig)
Create ShardSyncTaskManager from the streamConfig passed
|
ShardSyncTaskManager |
DynamoDBLeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig,
DeletedStreamListProvider deletedStreamListProvider)
Create ShardSyncTaskManager from the streamConfig passed
|
| Constructor and Description |
|---|
DynamoDBLeaseCoordinator(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
boolean enablePriorityLeaseAssignment,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewerThreadCount,
long initialLeaseTableReadCapacity,
long initialLeaseTableWriteCapacity,
MetricsFactory metricsFactory)
Constructor.
|
DynamoDBLeaseCoordinator(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewerThreadCount,
long initialLeaseTableReadCapacity,
long initialLeaseTableWriteCapacity,
MetricsFactory metricsFactory)
Deprecated.
|
DynamoDBLeaseCoordinator(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewerThreadCount,
MetricsFactory metricsFactory)
Deprecated.
|
DynamoDBLeaseRenewer(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
ExecutorService executorService,
MetricsFactory metricsFactory)
Constructor.
|
DynamoDBLeaseTaker(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
MetricsFactory metricsFactory) |
| Constructor and Description |
|---|
ProcessTask(@NonNull ShardInfo shardInfo,
@NonNull ShardRecordProcessor shardRecordProcessor,
@NonNull ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
ShardDetector shardDetector,
@NonNull ThrottlingReporter throttlingReporter,
ProcessRecordsInput processRecordsInput,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
@NonNull AggregatorUtil aggregatorUtil,
@NonNull MetricsFactory metricsFactory,
SchemaRegistryDecoder schemaRegistryDecoder) |
| Modifier and Type | Class and Description |
|---|---|
class |
CloudWatchMetricsFactory
An IMetricsFactory that creates IMetricsScopes that output themselves via CloudWatch.
|
class |
InterceptingMetricsFactory |
class |
LogMetricsFactory
An IMetricsFactory that creates IMetricsScopes that output themselves via log4j.
|
class |
NullMetricsFactory |
class |
ThreadSafeMetricsDelegatingFactory
Metrics scope factory that delegates metrics scope creation to another factory, but
returns metrics scope that is thread safe.
|
| Modifier and Type | Method and Description |
|---|---|
MetricsFactory |
MetricsConfig.metricsFactory() |
| Modifier and Type | Method and Description |
|---|---|
static MetricsScope |
MetricsUtil.createMetrics(@NonNull MetricsFactory metricsFactory) |
static MetricsScope |
MetricsUtil.createMetricsWithOperation(@NonNull MetricsFactory metricsFactory,
@NonNull String operation) |
| Constructor and Description |
|---|
InterceptingMetricsFactory(MetricsFactory other) |
MetricsCollectingTaskDecorator(ConsumerTask other,
MetricsFactory factory)
Constructor.
|
ThreadSafeMetricsDelegatingFactory(MetricsFactory delegate)
Creates an instance of the metrics factory.
|
| Modifier and Type | Method and Description |
|---|---|
MetricsFactory |
DataFetcherProviderConfig.getMetricsFactory()
Gets current instance of metrics factory.
|
| Modifier and Type | Method and Description |
|---|---|
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method is deprecated and will be removed in future versions.
Please use
RetrievalFactory.createGetRecordsCache(ShardInfo, StreamConfig, MetricsFactory). |
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory)
Creates a
RecordsPublisher instance to retrieve records for the specified shard. |
default GetRecordsRetrievalStrategy |
RetrievalFactory.createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method was only used by specific implementations of
RetrievalFactory and should not be
required to be implemented; will be removed in future versions. |
RecordsPublisher |
RecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords)
Returns a RecordsPublisher to be used for retrieving records for a given shard.
|
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
FanOutRetrievalFactory.createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
MetricsFactory metricsFactory) |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
SynchronousBlockingRetrievalFactory.createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
@NonNull MetricsFactory metricsFactory) |
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords) |
| Constructor and Description |
|---|
KinesisDataFetcher(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
String streamName,
String shardId,
int maxRecords,
MetricsFactory metricsFactory)
Deprecated.
|
PrefetchRecordsPublisher(int maxPendingProcessRecordsInput,
int maxByteSize,
int maxRecordsCount,
int maxRecordsPerCall,
GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
ExecutorService executorService,
long idleMillisBetweenCalls,
MetricsFactory metricsFactory,
String operation,
String shardId)
Constructor for the PrefetchRecordsPublisher.
|
PrefetchRecordsPublisher(int maxPendingProcessRecordsInput,
int maxByteSize,
int maxRecordsCount,
int maxRecordsPerCall,
@NonNull GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
@NonNull ExecutorService executorService,
long idleMillisBetweenCalls,
@NonNull MetricsFactory metricsFactory,
@NonNull String operation,
@NonNull String shardId,
long awaitTerminationTimeoutMillis)
Constructor for the PrefetchRecordsPublisher.
|
Copyright © 2024. All rights reserved.