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 |
---|
LeaseSet.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. |
apply
private static final long serialVersionUID
private long expiration
LeaseSet.ChangeSetExpiration(LeaseSet set, long expiration)
set
- that changedexpiration
- the new expiration timevoid apply(LeaseSet set)
LeaseSetOperation
LeaseSet
to reflect the
state of the server after this operation was performed.apply
in class LeaseSetOperation
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.