Interface MachineLeaseApi

All Known Subinterfaces:
MachineLeaseClient

@HttpExchange("machines/v2") public interface MachineLeaseApi
Machine id leases, version 2: the MachineLeaseStore primitives of the server's backend, passed through.

Clients run the allocation algorithm themselves (MachineLeaseManager) on a ProxyMachineLeaseStore. Every now and expiredBefore must come from serverTime(), the backend store's clock.