public interface LeaseDiscoverer
| Modifier and Type | Method and Description |
|---|---|
List<Lease> |
discoverNewLeases()
Identifies the leases that are assigned to the current worker but are not being tracked and processed by the
current worker.
|
List<Lease> discoverNewLeases() throws ProvisionedThroughputException, InvalidStateException, DependencyException
DependencyException - if DynamoDB scan fails in an unexpected wayInvalidStateException - if lease table does not existProvisionedThroughputException - if DynamoDB scan fails due to lack of capacityCopyright © 2025. All rights reserved.