public class KinesisShardDetector extends Object implements ShardDetector
| Constructor and Description |
|---|
KinesisShardDetector(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
String streamName,
long listShardsBackoffTimeInMillis,
int maxListShardsRetryAttempts,
long listShardsCacheAllowedAgeInSeconds,
int maxCacheMissesBeforeReload,
int cacheMissWarningModulus)
Deprecated.
|
KinesisShardDetector(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
String streamName,
long listShardsBackoffTimeInMillis,
int maxListShardsRetryAttempts,
long listShardsCacheAllowedAgeInSeconds,
int maxCacheMissesBeforeReload,
int cacheMissWarningModulus,
Duration kinesisRequestTimeout) |
| Modifier and Type | Method and Description |
|---|---|
List<software.amazon.awssdk.services.kinesis.model.Shard> |
listShards() |
software.amazon.awssdk.services.kinesis.model.Shard |
shard(String shardId) |
@Deprecated public KinesisShardDetector(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient, String streamName, long listShardsBackoffTimeInMillis, int maxListShardsRetryAttempts, long listShardsCacheAllowedAgeInSeconds, int maxCacheMissesBeforeReload, int cacheMissWarningModulus)
public KinesisShardDetector(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
String streamName,
long listShardsBackoffTimeInMillis,
int maxListShardsRetryAttempts,
long listShardsCacheAllowedAgeInSeconds,
int maxCacheMissesBeforeReload,
int cacheMissWarningModulus,
Duration kinesisRequestTimeout)
public software.amazon.awssdk.services.kinesis.model.Shard shard(@NonNull
String shardId)
shard in interface ShardDetectorpublic List<software.amazon.awssdk.services.kinesis.model.Shard> listShards()
listShards in interface ShardDetectorCopyright © 2020. All rights reserved.