com.sun.jini.fiddler
Class FiddlerImpl.LeasesCancelledLogObj

java.lang.Object
  extended by com.sun.jini.fiddler.FiddlerImpl.LeasesCancelledLogObj
All Implemented Interfaces:
FiddlerImpl.LogRecord, Serializable
Enclosing class:
FiddlerImpl

private static class FiddlerImpl.LeasesCancelledLogObj
extends Object
implements FiddlerImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever a set of leases from a LeaseMap are cancelled.

See Also:
FiddlerImpl.LocalLogHandler

Field Summary
private  Uuid[] leaseIDs
          The set of identifiers each assigned by the lease grantor to one of the leases that was cancelled.
private  Uuid[] registrationIDs
          The set of unique identifiers each assigned to a registration that corresponds to one of the leases that was cancelled.
private static long serialVersionUID
           
 
Constructor Summary
FiddlerImpl.LeasesCancelledLogObj(Uuid[] registrationIDs, Uuid[] leaseIDs)
          Constructs this class and stores the IDs corresponding to the leases that were cancelled.
 
Method Summary
 void apply(FiddlerImpl fiddlerImpl)
          Modifies this service's state by canceling each of the leases specified by the stored IDs.
 
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

registrationIDs

private Uuid[] registrationIDs
The set of unique identifiers each assigned to a registration that corresponds to one of the leases that was cancelled.


leaseIDs

private Uuid[] leaseIDs
The set of identifiers each assigned by the lease grantor to one of the leases that was cancelled.

Constructor Detail

FiddlerImpl.LeasesCancelledLogObj

public FiddlerImpl.LeasesCancelledLogObj(Uuid[] registrationIDs,
                                         Uuid[] leaseIDs)
Constructs this class and stores the IDs corresponding to the leases that were cancelled.

Method Detail

apply

public void apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by canceling each of the leases specified by the stored IDs.

Specified by:
apply in interface FiddlerImpl.LogRecord
See Also:
FiddlerImpl.LocalLogHandler.applyUpdate(java.lang.Object)


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