getEventLogPath(persistenceDirectory, uuid)):
eventLogFactory.iterator(uuid);
ServiceRegistration reg = new ServiceRegistration(uuid, iter);
Lease l = null;
try {
Result r =
leasePolicy.grant(reg, duration);
reg.setExpiration(r.expiration);
l = leaseFactory.newLease(uuid, r.expiration);
//TODO - destroy iter if leaseFor throws any exception
} catch (LeaseDeniedException lde) {