| Package | Description |
|---|---|
| software.amazon.kinesis.leases | |
| software.amazon.kinesis.leases.exceptions | |
| software.amazon.kinesis.metrics |
| Modifier and Type | Method and Description |
|---|---|
void |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean cleanupLeasesOfCompletedShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope)
Check and create leases for any new shards (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ShardSyncer.checkAndCreateLeasesForNewShards(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean cleanupLeasesOfCompletedShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccumulateByNameMetricsScope
This is a MetricScope with a KeyType of String.
|
class |
AccumulatingMetricsScope<KeyType>
An IMetricsScope that accumulates data from multiple calls to addData with
the same name parameter.
|
class |
CloudWatchMetricsScope
Metrics scope for CloudWatch metrics.
|
class |
DimensionTrackingMetricsScope
DimensionTrackingMetricsScope is where we provide functionality for dimensions.
|
class |
EndingMetricsScope |
class |
FilteringMetricsScope
An
IMetricsScope that filters FilteringMetricsScope.addData(java.lang.String, double, software.amazon.awssdk.services.cloudwatch.model.StandardUnit) calls based on the provided metrics level. |
class |
LogMetricsScope
An AccumulatingMetricsScope that outputs via log4j.
|
class |
NullMetricsScope |
class |
ThreadSafeMetricsDelegatingScope
Metrics scope that delegates to another metrics scope and is thread safe to be shared
across different threads.
|
| Modifier and Type | Method and Description |
|---|---|
MetricsScope |
ThreadSafeMetricsDelegatingFactory.createMetrics() |
MetricsScope |
NullMetricsFactory.createMetrics() |
MetricsScope |
MetricsFactory.createMetrics() |
MetricsScope |
InterceptingMetricsFactory.createMetrics() |
MetricsScope |
CloudWatchMetricsFactory.createMetrics() |
static MetricsScope |
MetricsUtil.createMetrics(MetricsFactory metricsFactory) |
static MetricsScope |
MetricsUtil.createMetricsWithOperation(MetricsFactory metricsFactory,
String operation) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MetricsUtil.addLatency(MetricsScope metricsScope,
String dimension,
long startTime,
MetricsLevel metricsLevel) |
static void |
MetricsUtil.addOperation(MetricsScope metricsScope,
String dimension,
String value) |
static void |
MetricsUtil.addShardId(MetricsScope metricsScope,
String shardId) |
static void |
MetricsUtil.addSuccess(MetricsScope metricsScope,
String dimension,
boolean success,
MetricsLevel metricsLevel) |
static void |
MetricsUtil.addSuccessAndLatency(MetricsScope metricsScope,
boolean success,
long startTime,
MetricsLevel metricsLevel) |
static void |
MetricsUtil.addSuccessAndLatency(MetricsScope metricsScope,
String dimension,
boolean success,
long startTime,
MetricsLevel metricsLevel) |
static void |
MetricsUtil.addWorkerIdentifier(MetricsScope metricsScope,
String workerIdentifier) |
static void |
MetricsUtil.endScope(MetricsScope metricsScope) |
protected void |
InterceptingMetricsFactory.interceptAddData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsLevel level,
MetricsScope scope) |
protected void |
InterceptingMetricsFactory.interceptAddData(String name,
double value,
software.amazon.awssdk.services.cloudwatch.model.StandardUnit unit,
MetricsScope scope) |
protected void |
InterceptingMetricsFactory.interceptAddDimension(String name,
String value,
MetricsScope scope) |
protected void |
InterceptingMetricsFactory.interceptCreateMetrics(MetricsScope scope) |
protected void |
InterceptingMetricsFactory.interceptEnd(MetricsScope scope) |
| Constructor and Description |
|---|
ThreadSafeMetricsDelegatingScope(MetricsScope delegate)
Creates an instance of the metrics scope.
|
Copyright © 2019. All rights reserved.