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 ShardDetector
public List<software.amazon.awssdk.services.kinesis.model.Shard> listShards()
listShards
in interface ShardDetector
Copyright © 2019. All rights reserved.