| Package | Description |
|---|---|
| software.amazon.kinesis.leases | |
| software.amazon.kinesis.leases.exceptions | |
| software.amazon.kinesis.metrics |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
List<software.amazon.awssdk.services.kinesis.model.Shard> latestShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope,
boolean isLeaseTableEmpty)
Provide a pre-collected list of shards to avoid calling ListShards API
|
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
MetricsScope scope,
boolean ignoreUnexpectedChildShards,
boolean isLeaseTableEmpty)
Check and create leases for any new shards (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ShardSyncer.checkAndCreateLeasesForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
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 |
NullMetricsFactory.createMetrics() |
MetricsScope |
ThreadSafeMetricsDelegatingFactory.createMetrics() |
MetricsScope |
CloudWatchMetricsFactory.createMetrics() |
MetricsScope |
MetricsFactory.createMetrics() |
MetricsScope |
InterceptingMetricsFactory.createMetrics() |
static MetricsScope |
MetricsUtil.createMetrics(@NonNull MetricsFactory metricsFactory) |
static MetricsScope |
MetricsUtil.createMetricsWithOperation(@NonNull MetricsFactory metricsFactory,
@NonNull String operation) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MetricsUtil.addCount(@NonNull MetricsScope metricsScope,
String dimension,
long count,
@NonNull MetricsLevel metricsLevel) |
static void |
MetricsUtil.addLatency(@NonNull MetricsScope metricsScope,
String dimension,
long startTime,
@NonNull MetricsLevel metricsLevel) |
static void |
MetricsUtil.addOperation(@NonNull MetricsScope metricsScope,
@NonNull String dimension,
@NonNull String value) |
static void |
MetricsUtil.addShardId(@NonNull MetricsScope metricsScope,
@NonNull String shardId) |
static void |
MetricsUtil.addStreamId(@NonNull MetricsScope metricsScope,
@NonNull StreamIdentifier streamId) |
static void |
MetricsUtil.addSuccess(@NonNull MetricsScope metricsScope,
String dimension,
boolean success,
@NonNull MetricsLevel metricsLevel) |
static void |
MetricsUtil.addSuccessAndLatency(@NonNull MetricsScope metricsScope,
boolean success,
long startTime,
@NonNull MetricsLevel metricsLevel) |
static void |
MetricsUtil.addSuccessAndLatency(@NonNull MetricsScope metricsScope,
String dimension,
boolean success,
long startTime,
@NonNull MetricsLevel metricsLevel) |
static void |
MetricsUtil.addWorkerIdentifier(@NonNull MetricsScope metricsScope,
@NonNull String workerIdentifier) |
static void |
MetricsUtil.endScope(@NonNull 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 © 2025. All rights reserved.