| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.lib.worker | |
| com.amazonaws.services.kinesis.leases.impl | |
| com.amazonaws.services.kinesis.metrics.impl |
| Modifier and Type | Method and Description |
|---|---|
GetRecordsCache |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
IMetricsFactory metricsFactory,
int maxRecords) |
GetRecordsCache |
RecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
IMetricsFactory metricsFactory,
int maxRecords)
Returns a GetRecordsCache to be used for retrieving records for a given shard.
|
Worker.Builder |
Worker.Builder.metricsFactory(IMetricsFactory metricsFactory)
Set the metrics factory.
|
| Constructor and Description |
|---|
PrefetchGetRecordsCache(int maxPendingProcessRecordsInput,
int maxByteSize,
int maxRecordsCount,
int maxRecordsPerCall,
GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
ExecutorService executorService,
long idleMillisBetweenCalls,
IMetricsFactory metricsFactory,
String operation,
String shardId)
Constructor for the PrefetchGetRecordsCache.
|
Worker(IRecordProcessorFactory recordProcessorFactory,
KinesisClientLibConfiguration config,
com.amazonaws.services.kinesis.AmazonKinesis kinesisClient,
com.amazonaws.services.dynamodbv2.AmazonDynamoDB dynamoDBClient,
IMetricsFactory metricsFactory,
ExecutorService execService) |
Worker(IRecordProcessorFactory recordProcessorFactory,
KinesisClientLibConfiguration config,
com.amazonaws.services.kinesis.AmazonKinesisClient kinesisClient,
com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient dynamoDBClient,
IMetricsFactory metricsFactory,
ExecutorService execService)
This constructor is for binary compatibility with code compiled against version of the KCL that only have
constructors taking "Client" objects.
|
Worker(IRecordProcessorFactory recordProcessorFactory,
KinesisClientLibConfiguration config,
IMetricsFactory metricsFactory) |
Worker(IRecordProcessorFactory recordProcessorFactory,
KinesisClientLibConfiguration config,
IMetricsFactory metricsFactory,
ExecutorService execService) |
| Modifier and Type | Field and Description |
|---|---|
protected IMetricsFactory |
LeaseCoordinator.metricsFactory |
| Constructor and Description |
|---|
LeaseCoordinator(ILeaseManager<T> leaseManager,
String workerIdentifier,
long leaseDurationMillis,
long epsilonMillis,
IMetricsFactory metricsFactory)
Constructor.
|
LeaseCoordinator(ILeaseManager<T> leaseManager,
String workerIdentifier,
long leaseDurationMillis,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewerThreadCount,
IMetricsFactory metricsFactory)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CWMetricsFactory
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 |
|---|---|
static IMetricsScope |
MetricsHelper.startScope(IMetricsFactory factory) |
static IMetricsScope |
MetricsHelper.startScope(IMetricsFactory factory,
String operation) |
| Constructor and Description |
|---|
InterceptingMetricsFactory(IMetricsFactory other) |
ThreadSafeMetricsDelegatingFactory(IMetricsFactory delegate)
Creates an instance of the metrics factory.
|
Copyright © 2017. All rights reserved.