static class LeaseSet.ChangeSetExpiration extends LeaseSetOperation
| Modifier and Type | Field and Description |
|---|---|
private long |
expiration
Updated expiration time
|
private static long |
serialVersionUID |
setID| Constructor and Description |
|---|
ChangeSetExpiration(LeaseSet set,
long expiration)
Simple constructor
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
apply(LeaseSet set)
Update the state of the passed
LeaseSet to reflect the
state of the server after this operation was performed. |
applyprivate static final long serialVersionUID
private long expiration
ChangeSetExpiration(LeaseSet set, long expiration)
set - that changedexpiration - the new expiration timevoid apply(LeaseSet set)
LeaseSetOperationLeaseSet to reflect the
state of the server after this operation was performed.apply in class LeaseSetOperationCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.