public interface ILeaseTaker<T extends Lease>
| Modifier and Type | Method and Description |
|---|---|
String |
getWorkerIdentifier() |
Map<String,T> |
takeLeases()
Compute the set of leases available to be taken and attempt to take them.
|
Map<String,T> takeLeases() throws DependencyException, InvalidStateException
DependencyException - on unexpected DynamoDB failuresInvalidStateException - if lease table does not existString getWorkerIdentifier()
Copyright © 2021. All rights reserved.