com.sun.jini.norm
Class LoggedOperation

java.lang.Object
  extended by com.sun.jini.norm.LoggedOperation
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CancelLeaseSet, CreateLeaseSet, LeaseSetOperation

abstract class LoggedOperation
extends Object
implements Serializable

Base class for the objects Norm logs as delta for each state changing operation.

Author:
Sun Microsystems, Inc.

Field Summary
private static long serialVersionUID
           
protected  Uuid setID
          The Uuid of the set this operation was on
 
Constructor Summary
protected LoggedOperation(Uuid setID)
          Simple constructor
 
Method Summary
(package private) abstract  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

setID

protected Uuid setID
The Uuid of the set this operation was on

Constructor Detail

LoggedOperation

protected LoggedOperation(Uuid setID)
Simple constructor

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

apply

abstract void apply(Map setTable)
             throws StoreException
Update state of the passed Map of LeaseSets to reflect the state of 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.