| Package | Description |
|---|---|
| software.amazon.kinesis.leases.dynamodb |
| Modifier and Type | Field and Description |
|---|---|
static TableCreatorCallback |
TableCreatorCallback.NOOP_TABLE_CREATOR_CALLBACK
NoOp implementation for TableCreatorCallback
|
| Constructor and Description |
|---|
DynamoDBLeaseManagementFactory(@NotNull software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
@NotNull software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient dynamoDBClient,
@NotNull String tableName,
@NotNull String workerIdentifier,
@NotNull ExecutorService executorService,
long failoverTimeMillis,
boolean enablePriorityLeaseAssignment,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewalThreads,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIntervalMillis,
boolean consistentReads,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
int maxCacheMissesBeforeReload,
long listShardsCacheAllowedAgeInSeconds,
int cacheMissWarningModulus,
long initialLeaseTableReadCapacity,
long initialLeaseTableWriteCapacity,
TableCreatorCallback tableCreatorCallback,
Duration dynamoDbRequestTimeout,
software.amazon.awssdk.services.dynamodb.model.BillingMode billingMode,
boolean leaseTableDeletionProtectionEnabled,
boolean leaseTablePitrEnabled,
Collection<software.amazon.awssdk.services.dynamodb.model.Tag> tags,
@NotNull LeaseSerializer leaseSerializer,
Function<StreamConfig,ShardDetector> customShardDetectorProvider,
boolean isMultiStreamMode,
LeaseCleanupConfig leaseCleanupConfig,
LeaseManagementConfig.WorkerUtilizationAwareAssignmentConfig workerUtilizationAwareAssignmentConfig,
LeaseManagementConfig.GracefulLeaseHandoffConfig gracefulLeaseHandoffConfig,
long leaseAssignmentIntervalMillis)
Constructor.
|
DynamoDBLeaseRefresher(String table,
software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient dynamoDBClient,
LeaseSerializer serializer,
boolean consistentReads,
@NonNull TableCreatorCallback tableCreatorCallback,
Duration dynamoDbRequestTimeout,
DdbTableConfig ddbTableConfig,
boolean leaseTableDeletionProtectionEnabled,
boolean leaseTablePitrEnabled,
Collection<software.amazon.awssdk.services.dynamodb.model.Tag> tags)
Constructor.
|
Copyright © 2025. All rights reserved.