com.sun.jini.norm
Class LeaseSetOperation
java.lang.Object
com.sun.jini.norm.LoggedOperation
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.
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
LeaseSet s 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
LeaseSetOperation
protected LeaseSetOperation(Uuid setID)
- Simple constructor
- Parameters:
setID
- The Uuid
for the set this operation is on
apply
void apply(Map setTable)
throws StoreException
- Description copied from class:
LoggedOperation
- Update state of the passed
Map
of
LeaseSet
s 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.