com.sun.jini.fiddler
Class FiddlerImpl.LocsSetInRegistrationLogObj

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

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

LogObj class whose instances are recorded to the log file whenever the managed set of locators corresponding to a registration is is replaced (set) with a new set of locators.

See Also:
FiddlerImpl.LocalLogHandler

Field Summary
private  LookupLocator[] locators
          The set of locators that replaced the registration's current managed set of locators.
private  Uuid registrationID
          The ID of the data structure record corresponding to the registration whose managed set of locators was replaced.
private static long serialVersionUID
           
 
Constructor Summary
FiddlerImpl.LocsSetInRegistrationLogObj(Uuid registrationID, LookupLocator[] locators)
          Constructs this class and stores the ID and new set of locators
 
Method Summary
 void apply(FiddlerImpl fiddlerImpl)
          Modifies this service's state by replacing the registration's current managed set of locators with the set of locators stored in this class by the constructor, as well as by updating the set of all locators (across all registrations) to discover.
 
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

registrationID

private Uuid registrationID
The ID of the data structure record corresponding to the registration whose managed set of locators was replaced.


locators

private LookupLocator[] locators
The set of locators that replaced the registration's current managed set of locators.

Constructor Detail

FiddlerImpl.LocsSetInRegistrationLogObj

public FiddlerImpl.LocsSetInRegistrationLogObj(Uuid registrationID,
                                               LookupLocator[] locators)
Constructs this class and stores the ID and new set of locators

Method Detail

apply

public void apply(FiddlerImpl fiddlerImpl)
Modifies this service's state by replacing the registration's current managed set of locators with the set of locators stored in this class by the constructor, as well as by updating the set of all locators (across all registrations) to discover.

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.