com.sun.jini.fiddler
Class FiddlerImpl.LeasesRenewedLogObj

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

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

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

See Also:
FiddlerImpl.LocalLogHandler

Field Summary
private  long[] expirations
          The set of new absolute expiration times of each lease that was renewed.
private  Uuid[] leaseIDs
          The set of identifiers each assigned by the lease grantor to one of the leases that was renewed.
private  Uuid[] registrationIDs
          The set of unique identifiers each assigned to a registration that corresponds to one of the leases that was renewed.
private static long serialVersionUID
           
 
Constructor Summary
FiddlerImpl.LeasesRenewedLogObj(Uuid[] registrationIDs, Uuid[] leaseIDs, long[] expirations)
          Constructs this class and stores the sets of IDs and the set of expiration times.
 
Method Summary
 void apply(FiddlerImpl fiddlerImpl)
          Modifies this service's state by renewing, with the corresponding expiration time, 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 renewed.


leaseIDs

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


expirations

private long[] expirations
The set of new absolute expiration times of each lease that was renewed.

Constructor Detail

FiddlerImpl.LeasesRenewedLogObj

public FiddlerImpl.LeasesRenewedLogObj(Uuid[] registrationIDs,
                                       Uuid[] leaseIDs,
                                       long[] expirations)
Constructs this class and stores the sets of IDs and the set of expiration times.

Method Detail

apply

public void apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by renewing, with the corresponding expiration time, 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.