private static class RegistrarImpl.EventLeaseCancelledLogObj extends Object implements RegistrarImpl.LogRecord
RegistrarImpl.LocalLogHandler
Modifier and Type | Field and Description |
---|---|
private long |
eventID
The event id.
|
private Uuid |
leaseID
The lease id.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
EventLeaseCancelledLogObj(long eventID,
Uuid leaseID)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
void |
apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by cancelling the lease
corresponding to the event with ID equal to the contents of
the eventID field.
|
private static final long serialVersionUID
private final long eventID
private final Uuid leaseID
public EventLeaseCancelledLogObj(long eventID, Uuid leaseID)
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.