com.sun.jini.norm
Class LeaseSet.ChangeSetExpiration

java.lang.Object
  extended by com.sun.jini.norm.LoggedOperation
      extended by com.sun.jini.norm.LeaseSetOperation
          extended by com.sun.jini.norm.LeaseSet.ChangeSetExpiration
All Implemented Interfaces:
Serializable
Enclosing class:
LeaseSet

static class LeaseSet.ChangeSetExpiration
extends LeaseSetOperation

Class used to log changes to the set expiration time.


Field Summary
private  long expiration
          Updated expiration time
private static long serialVersionUID
           
 
Fields inherited from class com.sun.jini.norm.LoggedOperation
setID
 
Constructor Summary
LeaseSet.ChangeSetExpiration(LeaseSet set, long expiration)
          Simple constructor
 
Method Summary
(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.
 
Methods inherited from class com.sun.jini.norm.LeaseSetOperation
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

expiration

private long expiration
Updated expiration time

Constructor Detail

LeaseSet.ChangeSetExpiration

LeaseSet.ChangeSetExpiration(LeaseSet set,
                             long expiration)
Simple constructor

Parameters:
set - that changed
expiration - the new expiration time
Method Detail

apply

void apply(LeaseSet set)
Description copied from class: LeaseSetOperation
Update the state of the passed LeaseSet to reflect the state of the server after this operation was performed.

Specified by:
apply in class LeaseSetOperation


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.