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) |
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(MetricsFactory metricsFactory) |
ShardSyncTaskManager |
DynamoDBLeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory)
Deprecated.
|
ShardSyncTaskManager |
DynamoDBLeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig)
Create ShardSyncTaskManager from the streamConfig passed
|
Constructor and Description |
---|
DynamoDBLeaseCoordinator(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
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,
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(ShardInfo shardInfo,
ShardRecordProcessor shardRecordProcessor,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
ShardDetector shardDetector,
ThrottlingReporter throttlingReporter,
ProcessRecordsInput processRecordsInput,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
AggregatorUtil aggregatorUtil,
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(MetricsFactory metricsFactory) |
static MetricsScope |
MetricsUtil.createMetricsWithOperation(MetricsFactory metricsFactory,
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 |
---|---|
RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
|
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory) |
GetRecordsRetrievalStrategy |
RetrievalFactory.createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
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(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
RecordsPublisher |
FanOutRetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory) |
GetRecordsRetrievalStrategy |
FanOutRetrievalFactory.createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
Modifier and Type | Method and Description |
---|---|
RecordsPublisher |
SynchronousPrefetchingRetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
RecordsPublisher |
SynchronousBlockingRetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
GetRecordsRetrievalStrategy |
SynchronousPrefetchingRetrievalFactory.createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
GetRecordsRetrievalStrategy |
SynchronousBlockingRetrievalFactory.createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
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.
|
Copyright © 2021. All rights reserved.