| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.leases.impl | |
| com.amazonaws.services.kinesis.leases.interfaces |
| Modifier and Type | Class and Description |
|---|---|
class |
KinesisClientLeaseManager
An implementation of LeaseManager for the KinesisClientLibrary - takeLease updates the ownerSwitchesSinceCheckpoint field.
|
class |
LeaseManager<T extends Lease>
An implementation of ILeaseManager that uses DynamoDB.
|
| Constructor and Description |
|---|
LeaseCoordinator(ILeaseManager<T> leaseManager,
String workerIdentifier,
long leaseDurationMillis,
long epsilonMillis)
Constructor.
|
LeaseCoordinator(ILeaseManager<T> leaseManager,
String workerIdentifier,
long leaseDurationMillis,
long epsilonMillis,
IMetricsFactory metricsFactory)
Constructor.
|
LeaseCoordinator(ILeaseManager<T> leaseManager,
String workerIdentifier,
long leaseDurationMillis,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewerThreadCount,
IMetricsFactory metricsFactory)
Constructor.
|
LeaseRenewer(ILeaseManager<T> leaseManager,
String workerIdentifier,
long leaseDurationMillis,
ExecutorService executorService)
Constructor.
|
LeaseTaker(ILeaseManager<T> leaseManager,
String workerIdentifier,
long leaseDurationMillis) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IKinesisClientLeaseManager
A decoration of ILeaseManager that adds methods to get/update checkpoints.
|
Copyright © 2018. All rights reserved.