private static class RegistrarImpl.EventLeaseRenewedLogObj extends Object implements RegistrarImpl.LogRecord
RegistrarImpl.LocalLogHandler
Modifier and Type | Field and Description |
---|---|
private long |
eventID
The event id.
|
private long |
leaseExpTime
The new lease expiration time.
|
private Uuid |
leaseID
The lease id.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
RegistrarImpl.EventLeaseRenewedLogObj(long eventID,
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
corresponding to the event with ID equal to the contents of
the eventID field.
|
private static final long serialVersionUID
private long eventID
private Uuid leaseID
private long leaseExpTime
public RegistrarImpl.EventLeaseRenewedLogObj(long eventID, Uuid leaseID, 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.