private static class RegistrarImpl.ServiceLeaseRenewedLogObj extends Object implements RegistrarImpl.LogRecord
RegistrarImpl.LocalLogHandler
Modifier and Type | Field and Description |
---|---|
private long |
leaseExpTime
The new lease expiration time.
|
private Uuid |
leaseID
The lease id.
|
private static long |
serialVersionUID |
private ServiceID |
serviceID
The service id.
|
Constructor and Description |
---|
RegistrarImpl.ServiceLeaseRenewedLogObj(ServiceID serviceID,
Uuid leaseID,
long leaseExpTime)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
void |
apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by renewing the lease
having ID equal to the contents of the leaseID field; and
corresponding to the service with ID equal to the contents
of the serviceID field.
|
private static final long serialVersionUID
private ServiceID serviceID
private Uuid leaseID
private long leaseExpTime
public void apply(RegistrarImpl regImpl)
apply
in interface RegistrarImpl.LogRecord
RegistrarImpl.LocalLogHandler.applyUpdate(java.lang.Object)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.