com.sun.jini.norm
Class LeaseSetOperation

java.lang.Object
  extended by com.sun.jini.norm.LoggedOperation
      extended by com.sun.jini.norm.LeaseSetOperation
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LeaseSet.ChangeSetExpiration, LeaseSet.FailureEventRegistration, LeaseSet.RemoveClientLease, LeaseSet.UpdateClientLease, LeaseSet.WarningEventRegistration

abstract class LeaseSetOperation
extends LoggedOperation

Base class for logged operations that do not create or destroy a set.

Author:
Sun Microsystems, Inc.

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class com.sun.jini.norm.LoggedOperation
setID
 
Constructor Summary
protected LeaseSetOperation(Uuid setID)
          Simple constructor
 
Method Summary
(package private) abstract  void apply(LeaseSet set)
          Update the state of the passed LeaseSet to reflect the state of the server after this operation was performed.
(package private)  void apply(Map setTable)
          Update state of the passed Map of LeaseSets to reflect the state of server after this operation was performed.
 
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
Constructor Detail

LeaseSetOperation

protected LeaseSetOperation(Uuid setID)
Simple constructor

Parameters:
setID - The Uuid for the set this operation is on
Method Detail

apply

void apply(Map setTable)
     throws StoreException
Description copied from class: LoggedOperation
Update state of the passed Map of LeaseSets to reflect the state of server after this operation was performed.

Specified by:
apply in class LoggedOperation
Throws:
StoreException - if there is a problem applying the update

apply

abstract void apply(LeaseSet set)
             throws StoreException
Update the state of the passed LeaseSet to reflect the state of the server after this operation was performed.

Throws:
StoreException - if there is a problem applying the update


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