Package | Description |
---|---|
net.jini.admin |
These interfaces provide common ways to export
particular administrative functionality.
|
net.jini.core.lookup |
These are the lookup service interfaces and classes.
|
net.jini.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini Discovery and Join Specification.
|
org.apache.river.fiddler |
Provides the server side of an implementation of the lookup discovery service
(see
). |
org.apache.river.mahalo |
Provides implementations of the
TransactionManager service.
|
org.apache.river.mercury |
Provides implementations of the
EventMailbox service.
|
org.apache.river.norm |
Provides implementations of
LeaseRenewalService . |
org.apache.river.norm.lookup | |
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
org.apache.river.reggie |
Provides implementations of
ServiceRegistrar . |
Modifier and Type | Method and Description |
---|---|
LookupLocator[] |
JoinAdmin.getLookupLocators()
Get the list of locators of specific lookup services to join.
|
Modifier and Type | Method and Description |
---|---|
void |
JoinAdmin.addLookupLocators(LookupLocator[] locators)
Add locators for specific new lookup services to join.
|
void |
JoinAdmin.removeLookupLocators(LookupLocator[] locators)
Remove locators for specific lookup services from the set to join.
|
void |
JoinAdmin.setLookupLocators(LookupLocator[] locators)
Replace the list of locators of specific lookup services to join
with a new list.
|
Modifier and Type | Method and Description |
---|---|
LookupLocator |
ServiceRegistrar.getLocator()
Returns a LookupLocator that can be used if necessary for unicast
discovery of the lookup service.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstrainableLookupLocator
LookupLocator subclass which supports constraint operations
through the RemoteMethodControl interface. |
Modifier and Type | Field and Description |
---|---|
LookupLocator |
AbstractLookupLocatorDiscovery.LocatorReg.l |
protected LookupLocator |
IncomingMulticastAnnouncement.locator
The LookupLocator that has been announced.
|
Modifier and Type | Method and Description |
---|---|
private LookupLocator |
AbstractLookupLocatorDiscovery.findRegFromProxy(ServiceRegistrar proxy)
This method searches the set of discovered LocatorReg objects
for the element that contains the given ServiceRegistrar object.
|
LookupLocator[] |
AbstractLookupLocatorDiscovery.getDiscoveredLocators()
Returns the set of
LookupLocator objects representing the
desired lookup services that are currently discovered. |
LookupLocator |
IncomingMulticastAnnouncement.getLocator()
Return a LookupLocator for performing unicast discovery of the
announcing lookup service.
|
LookupLocator[] |
LookupDiscoveryRegistration.getLocators()
Returns an array consisting of the LookupLocator objects corresponding
to specific lookup services the lookup discovery service will attempt
to discover for this registration.
|
LookupLocator[] |
DiscoveryLocatorManagement.getLocators()
Returns an array consisting of the elements of the managed set
of locators; that is, instances of
LookupLocator in
which each instance corresponds to a specific lookup service to
discover. |
LookupLocator[] |
AbstractLookupLocatorDiscovery.getLocators()
Returns an array consisting of the elements of the managed set
of locators; that is, instances of
LookupLocator in
which each instance corresponds to a specific lookup service to
discover. |
LookupLocator[] |
AbstractLookupDiscoveryManager.getLocators()
Returns an array consisting of the elements of the managed set
of locators; that is, instances of
LookupLocator in
which each instance corresponds to a specific lookup service to
discover. |
LookupLocator[] |
AbstractLookupLocatorDiscovery.getUndiscoveredLocators()
Returns the set of
LookupLocator objects representing the
desired lookup services that have not yet been discovered. |
Modifier and Type | Method and Description |
---|---|
void |
LookupDiscoveryRegistration.addLocators(LookupLocator[] locators)
Adds a set of LookupLocator objects to the managed set of locators
associated with this registration.
|
void |
DiscoveryLocatorManagement.addLocators(LookupLocator[] locators)
Adds a set of locators to the managed set of locators.
|
void |
AbstractLookupLocatorDiscovery.addLocators(LookupLocator[] locators)
Adds a set of locators to the managed set of locators.
|
void |
AbstractLookupDiscoveryManager.addLocators(LookupLocator[] locators)
Adds a set of locators to the managed set of locators.
|
(package private) void |
AbstractLookupLocatorDiscovery.beginDiscovery(LookupLocator[] locators)
Using the given
Configuration , initializes the current
instance of this utility, and initiates the discovery process for
the given set of locators. |
private void |
AbstractLookupLocatorDiscovery.discoverLocators(LookupLocator[] lcts)
Initiates the discovery process for the lookup services having the
given locators.
|
private void |
AbstractLookupLocatorDiscovery.LocatorReg.doUnicastDiscovery(LookupLocator locator,
InvocationConstraints ic)
This method employs the unicast discovery protocol to discover
the registrar having
LookupLocator equal to the value
contained in the locator parameter of this class. |
private AbstractLookupLocatorDiscovery.LocatorReg |
AbstractLookupLocatorDiscovery.findReg(LookupLocator lct)
From the sets of elements corresponding to yet-to-be-discovered
locators, this methods finds and returns the instance of LocatorReg
corresponding to the given LookupLocator.
|
private static LookupLocatorDiscovery |
LookupDiscoveryManager.getLookupLocatorDiscovery(LookupLocator[] locators) |
private boolean |
AbstractLookupLocatorDiscovery.isDiscovered(LookupLocator lct)
Determines whether or not the lookup service associated with the
given LookupLocator has already been discovered.
|
static DatagramPacket[] |
OutgoingMulticastAnnouncement.marshal(ServiceID id,
LookupLocator loc,
String[] groups)
Marshal a multicast announcement into one or more datagram
packets.
|
LookupDiscoveryRegistration |
LookupDiscoveryService.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Register with the lookup discovery service.
|
private AbstractLookupLocatorDiscovery.LocatorReg |
AbstractLookupLocatorDiscovery.removeDiscoveredLocator(LookupLocator lct)
Convenience method used to remove the LocatorReg - corresponding to
the given LookupLocator - from the set of LocatorReg objects that
correspond to lookup services that have already been discovered.
|
void |
LookupDiscoveryRegistration.removeLocators(LookupLocator[] locators)
Deletes a set of of LookupLocator objects from this registration's
managed set of locators.
|
void |
DiscoveryLocatorManagement.removeLocators(LookupLocator[] locators)
Deletes a set of locators from the managed set of locators, and discards
any already-discovered lookup service that corresponds to a deleted
locator.
|
void |
AbstractLookupLocatorDiscovery.removeLocators(LookupLocator[] locators)
Deletes a set of locators from the managed set of locators, and discards
any already-discovered lookup service that corresponds to a deleted
locator.
|
void |
AbstractLookupDiscoveryManager.removeLocators(LookupLocator[] locators)
Deletes a set of locators from the managed set of locators, and discards
any already-discovered lookup service that corresponds to a deleted
locator.
|
void |
LookupDiscoveryRegistration.setLocators(LookupLocator[] locators)
Replaces all of the locators in this registration's managed set of
locators with a new set of LookupLocator objects.
|
void |
DiscoveryLocatorManagement.setLocators(LookupLocator[] locators)
Replaces all of the locators in the managed set with locators from
a new set, and discards any already-discovered lookup service that
corresponds to a locator that is removed from the managed set
as a result of an invocation of this method.
|
void |
AbstractLookupLocatorDiscovery.setLocators(LookupLocator[] locators)
Replaces all of the locators in the managed set with locators from
a new set, and discards any already-discovered lookup service that
corresponds to a locator that is removed from the managed set
as a result of an invocation of this method.
|
void |
AbstractLookupDiscoveryManager.setLocators(LookupLocator[] locators)
Replaces all of the locators in the managed set with locators from
a new set, and discards any already-discovered lookup service that
corresponds to a locator that is removed from the managed set
as a result of an invocation of this method.
|
private void |
AbstractLookupLocatorDiscovery.testSetForNull(LookupLocator[] locatorSet)
This method is used by the public methods of this class that are
specified to throw a
NullPointerException when the
set of locators is either null or contains one or
more null elements; in either case, this method
throws a NullPointerException which should be allowed
to propagate outward. |
Constructor and Description |
---|
LocatorReg(LookupLocator l) |
LookupDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener)
Constructs an instance of this class that will organize and manage
all discovery-related activities on behalf of the client or service
that instantiates this class.
|
LookupDiscoveryManager(String[] groups,
LookupLocator[] locators,
DiscoveryListener listener,
Configuration config)
Constructs an instance of this class, using the given
Configuration , that will organize and manage all
discovery-related activities on behalf of the client or service
that instantiates this class. |
LookupLocatorDiscovery(LookupLocator[] locators)
Creates an instance of this class (
LookupLocatorDiscovery ),
with an initial array of LookupLocator s to be managed. |
LookupLocatorDiscovery(LookupLocator[] locators,
Configuration config)
Constructs a new lookup locator discovery object, set to discover the
given set of locators, and having the given
Configuration . |
Modifier and Type | Field and Description |
---|---|
(package private) LookupLocator |
FiddlerImpl.LocatorGroupsStruct.locator |
LookupLocator[] |
FiddlerImpl.AddLocatorsTask.locators
The locator set with which to replace the registration's old set
|
LookupLocator[] |
FiddlerImpl.SetLocatorsTask.locators
The locator set with which to replace the registration's old set
|
LookupLocator[] |
FiddlerImpl.RemoveLocatorsTask.locators
The locators to remove from the registration's old set
|
private LookupLocator[] |
FiddlerImpl.LookupLocatorsChangedLogObj.locators
The locators that correspond to the new lookup services this
service should join.
|
private LookupLocator[] |
FiddlerImpl.LocsAddedToRegistrationLogObj.locators
The set of locators added to the registration's managed set
|
private LookupLocator[] |
FiddlerImpl.LocsSetInRegistrationLogObj.locators
The set of locators that replaced the registration's current
managed set of locators.
|
private LookupLocator[] |
FiddlerImpl.LocsRemovedFromRegistrationLogObj.locators
The set of locators removed from the registration's managed set
of locators.
|
private LookupLocator[] |
FiddlerImpl.thisServicesLocators
Locators of specific lookup services this service should join.
|
Modifier and Type | Method and Description |
---|---|
LookupLocator[] |
FiddlerRegistration.getLocators()
Returns an array consisting of the the LookupLocator objects
corresponding to specific lookup services the lookup discovery
service will attempt to discover for for the registration
corresponding to the current instance of this class.
|
LookupLocator[] |
FiddlerImpl.getLocators(Uuid registrationID)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
LookupLocator[] |
Fiddler.getLocators(Uuid registrationID)
Returns an array consisting of the the LookupLocator objects
corresponding to specific lookup services the lookup discovery
service will attempt to discover for for the registration
corresponding to the current instance of this class.
|
private LookupLocator[] |
FiddlerImpl.getLocatorsFromAllRegs()
Builds a set containing the locators from all registrations.
|
LookupLocator[] |
FiddlerImpl.getLookupLocators()
Get the lookup discovery service's managed set of locators.
|
LookupLocator[] |
FiddlerAdminProxy.getLookupLocators()
Get the lookup discovery service's managed set of locators.
|
private static LookupLocator[] |
FiddlerImpl.prepareOldLocators(ProxyPreparer preparer,
LookupLocator[] locators)
Using the given
ProxyPreparer , attempts to prepare each
element of the given LookupLocator array; and returns
a new array containing the prepared locators. |
Modifier and Type | Method and Description |
---|---|
void |
FiddlerRegistration.addLocators(LookupLocator[] locators)
Adds a set of LookupLocator objects to the managed set of locators
associated with the registration corresponding to the current
instance of this class.
|
void |
FiddlerImpl.addLocators(Uuid registrationID,
LookupLocator[] locators)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.addLocators(Uuid registrationID,
LookupLocator[] locators)
Adds a set of LookupLocator objects to the managed set of locators
associated with the registration corresponding to the current
instance of this class.
|
private void |
FiddlerImpl.addLocatorsDo(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Called by the public method
addLocators . |
private void |
FiddlerImpl.addLocatorsDo(Uuid registrationID,
HashMap registrationByID,
LookupLocator[] locators)
Called by the
apply method of the class
LocsAddedToRegistrationLogObj (which is invoked
during state recovery). |
void |
FiddlerImpl.addLookupLocators(LookupLocator[] locators)
Add a set of LookupLocator objects to the lookup discovery service's
managed set of locators.
|
void |
FiddlerAdminProxy.addLookupLocators(LookupLocator[] locators)
Add a set of LookupLocator objects to the lookup discovery service's
managed set of locators.
|
private HashSet |
FiddlerImpl.AddLocatorsTask.addRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Augments the registration's managed set of locators with the new
locators.
|
private static boolean |
FiddlerImpl.interested(LookupLocator regLoc,
String[] regGroups,
Set desiredLocators,
Set desiredGroups)
This method determines if a particular registration (regInfo) is
interested in discovering, through either locator discovery
or group discovery, the registrar having a given locator and
belonging to a given set of member groups.
|
private static boolean |
FiddlerImpl.locSetContainsLoc(Set locSet,
LookupLocator loc)
Searches the given set of locators for the given individual locator,
returning
true if the indicated locator is found in the
set; false otherwise. |
private static void |
FiddlerImpl.prepareNewLocators(ProxyPreparer preparer,
LookupLocator[] locators)
Using the given
ProxyPreparer , attempts to prepare each
element of the given LookupLocator array; replacing the
original element of the array with the result of the call to the
method ProxyPreparer.prepareProxy . |
private static LookupLocator[] |
FiddlerImpl.prepareOldLocators(ProxyPreparer preparer,
LookupLocator[] locators)
Using the given
ProxyPreparer , attempts to prepare each
element of the given LookupLocator array; and returns
a new array containing the prepared locators. |
LookupDiscoveryRegistration |
FiddlerProxy.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers with the lookup discovery service.
|
LookupDiscoveryRegistration |
FiddlerImpl.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
Registers with the lookup discovery service.
|
LookupDiscoveryRegistration |
Fiddler.register(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
On behalf of a requesting client, creates a registration with the
lookup discovery service, which then performs discovery processing
on behalf of the client.
|
private LookupDiscoveryRegistration |
FiddlerImpl.registerDo(String[] groups,
LookupLocator[] locators,
RemoteEventListener listener,
MarshalledObject handback,
long leaseDuration)
This method is called by the public method
register . |
void |
FiddlerRegistration.removeLocators(LookupLocator[] locators)
Deletes a set of LookupLocator objects from the managed set of
locators associated with the registration corresponding to the
current instance of this class.
|
void |
FiddlerImpl.removeLocators(Uuid registrationID,
LookupLocator[] locators)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.removeLocators(Uuid registrationID,
LookupLocator[] locators)
Deletes a set of LookupLocator objects from the managed set of
locators associated with the registration corresponding to the
current instance of this class.
|
private void |
FiddlerImpl.removeLocatorsDo(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Called by the public method
removeLocators . |
private void |
FiddlerImpl.removeLocatorsDo(Uuid registrationID,
HashMap registrationByID,
LookupLocator[] locators)
Called by the
apply method of the class
LocsRemovedFromRegistrationLogObj (which is
invoked during state recovery). |
void |
FiddlerImpl.removeLookupLocators(LookupLocator[] locators)
Remove a set of LookupLocator objects from the lookup discovery
service's managed set of locators.
|
void |
FiddlerAdminProxy.removeLookupLocators(LookupLocator[] locators)
Remove a set of LookupLocator objects from the lookup discovery
service's managed set of locators.
|
private void |
FiddlerImpl.RemoveLocatorsTask.removeRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Removes the elements of the given set from the given registration's
current set of locators to discover.
|
void |
FiddlerRegistration.setLocators(LookupLocator[] locators)
Replaces with a new set of LookupLocator objects, all of the
elements in the managed set of locators associated with the
registration corresponding to the current instance of this class.
|
void |
FiddlerImpl.setLocators(Uuid registrationID,
LookupLocator[] locators)
This method is the "backend" server counterpart to the method of
the same name provided by the
LookupDiscoveryRegistration
proxy (an instance of FiddlerRegistration ) that is
returned by this service when a client requests a registration. |
void |
Fiddler.setLocators(Uuid registrationID,
LookupLocator[] locators)
Replaces with a new set of LookupLocator objects, all of the
elements in the managed set of locators associated with the
registration corresponding to the current instance of this class.
|
private void |
FiddlerImpl.setLocatorsDo(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Called by the public method
setLocators . |
private void |
FiddlerImpl.setLocatorsDo(Uuid registrationID,
HashMap registrationByID,
LookupLocator[] locators)
Called by the
apply method of the class
LocsSetInRegistrationLogObj (which is invoked
during state recovery). |
void |
FiddlerImpl.setLookupLocators(LookupLocator[] locators)
Replace the lookup discovery service's managed set of locators with
a new set of locators.
|
void |
FiddlerAdminProxy.setLookupLocators(LookupLocator[] locators)
Replace the lookup discovery service's managed set of locators with
a new set of locators.
|
private void |
FiddlerImpl.SetLocatorsTask.setRegInfoLocators(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Replaces the registration's managed set of locators with the new
locators (even if the new set of locators is empty -- this just
means locator discovery will be "turned off" for this registration)
|
Constructor and Description |
---|
AddLocatorsTask(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Constructs an instance of this class and stores the input
|
LocatorGroupsStruct(LookupLocator locator,
String[] groups) |
LocsAddedToRegistrationLogObj(Uuid registrationID,
LookupLocator[] locators)
Constructs this class and stores the ID and new set of locators
|
LocsRemovedFromRegistrationLogObj(Uuid registrationID,
LookupLocator[] locators)
Constructs this class and stores the ID and locators to remove
|
LocsSetInRegistrationLogObj(Uuid registrationID,
LookupLocator[] locators)
Constructs this class and stores the ID and new set of locators
|
LookupLocatorsChangedLogObj(LookupLocator[] locators)
Constructs this class and stores the new locators
|
RegistrationInfo(Uuid registrationID,
String[] groups,
LookupLocator[] locators,
Uuid leaseID,
long leaseExpiration,
long eventID,
MarshalledObject handback,
RemoteEventListener listener)
Constructs an instance of this class and stores the information
related to the current registration: IDs, managed sets, lease
information, and event registration information.
|
RemoveLocatorsTask(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Constructs an instance of this class and stores the input
|
SetLocatorsTask(FiddlerImpl.RegistrationInfo regInfo,
LookupLocator[] locators)
Constructs an instance of this class and stores the input
|
Modifier and Type | Field and Description |
---|---|
private LookupLocator[] |
JoinStateManager.locators |
Modifier and Type | Method and Description |
---|---|
LookupLocator[] |
TxnMgrAdminProxy.getLookupLocators() |
LookupLocator[] |
TxnManagerImpl.getLookupLocators() |
LookupLocator[] |
JoinStateManager.getLookupLocators()
Get the list of locators of specific lookup services to join.
|
Modifier and Type | Method and Description |
---|---|
void |
TxnMgrAdminProxy.addLookupLocators(LookupLocator[] locators) |
void |
TxnManagerImpl.addLookupLocators(LookupLocator[] locators) |
void |
JoinStateManager.addLookupLocators(LookupLocator[] locators)
Add locators for specific new lookup services to join.
|
private void |
JoinStateManager.prepareLocators(LookupLocator[] locators)
Apply
lookupLocatorPreparer to each locator in the
array, replacing the original locator with the result of the
prepareProxy call. |
void |
TxnMgrAdminProxy.removeLookupLocators(LookupLocator[] locators) |
void |
TxnManagerImpl.removeLookupLocators(LookupLocator[] locators) |
void |
JoinStateManager.removeLookupLocators(LookupLocator[] locators)
Remove locators for specific lookup services from the set to join.
|
void |
TxnMgrAdminProxy.setLookupLocators(LookupLocator[] locators) |
void |
TxnManagerImpl.setLookupLocators(LookupLocator[] locators) |
void |
JoinStateManager.setLookupLocators(LookupLocator[] locators)
Replace the list of locators of specific lookup services to join
with a new list.
|
Modifier and Type | Field and Description |
---|---|
private LookupLocator[] |
MailboxImpl.LookupLocatorsChangedLogObj.locators
The new locators to join.
|
(package private) LookupLocator[] |
MailboxImplInit.lookupLocators |
private LookupLocator[] |
MailboxImpl.lookupLocators
The lookup locators we should join
Default is to join with no locators.
|
Modifier and Type | Method and Description |
---|---|
LookupLocator[] |
MailboxImpl.getLookupLocators() |
LookupLocator[] |
MailboxAdminProxy.getLookupLocators() |
(package private) static LookupLocator[] |
MailboxImpl.prepareExistingLocators(ProxyPreparer preparer,
LookupLocator[] lookupLocators) |
Modifier and Type | Method and Description |
---|---|
void |
MailboxImpl.addLookupLocators(LookupLocator[] locators) |
void |
MailboxAdminProxy.addLookupLocators(LookupLocator[] locators) |
(package private) static void |
MailboxImpl.dumpLocators(LookupLocator[] locs,
Logger logger,
Level level)
Utility method for displaying lookup locator attributes
|
(package private) static LookupLocator[] |
MailboxImpl.prepareExistingLocators(ProxyPreparer preparer,
LookupLocator[] lookupLocators) |
private static void |
MailboxImpl.prepareNewLocators(ProxyPreparer preparer,
LookupLocator[] locators)
Using the given
ProxyPreparer , attempts to prepare each
element of the given LookupLocator array; replacing the
original element of the array with the result of the call to the
method ProxyPreparer.prepareProxy . |
void |
MailboxImpl.removeLookupLocators(LookupLocator[] locators) |
void |
MailboxAdminProxy.removeLookupLocators(LookupLocator[] locators) |
void |
MailboxImpl.setLookupLocators(LookupLocator[] locators) |
void |
MailboxAdminProxy.setLookupLocators(LookupLocator[] locators) |
Constructor and Description |
---|
LookupLocatorsChangedLogObj(LookupLocator[] locators)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
LookupLocator[] |
NormServerBaseImpl.getLookupLocators() |
LookupLocator[] |
AdminProxy.getLookupLocators() |
Modifier and Type | Method and Description |
---|---|
void |
NormServerBaseImpl.addLookupLocators(LookupLocator[] locators) |
void |
AdminProxy.addLookupLocators(LookupLocator[] locators) |
void |
NormServerBaseImpl.removeLookupLocators(LookupLocator[] locators) |
void |
AdminProxy.removeLookupLocators(LookupLocator[] locators) |
void |
NormServerBaseImpl.setLookupLocators(LookupLocator[] locators) |
void |
AdminProxy.setLookupLocators(LookupLocator[] locators) |
Modifier and Type | Field and Description |
---|---|
private LookupLocator[] |
JoinState.locators
Pass through to get lookup locator array from the log
recovery method to the code that creates the
JoinManager |
Modifier and Type | Method and Description |
---|---|
LookupLocator[] |
JoinState.getLocators()
Get the list of locators of specific lookup services to join.
|
Modifier and Type | Method and Description |
---|---|
void |
JoinState.addLocators(LookupLocator[] locators)
Add locators for specific new lookup services to join.
|
void |
JoinState.removeLocators(LookupLocator[] locators)
Remove locators for specific lookup services from the set to join.
|
void |
JoinState.setLocators(LookupLocator[] locators)
Replace the list of locators of specific lookup services to join
with a new list.
|
Modifier and Type | Field and Description |
---|---|
private LookupLocator[] |
JoinStateManager.locators
The list of
LookupLocator s to start with. |
Modifier and Type | Method and Description |
---|---|
LookupLocator[] |
OutriggerServerWrapper.getLookupLocators() |
LookupLocator[] |
OutriggerServerImpl.getLookupLocators() |
LookupLocator[] |
JoinStateManager.getLookupLocators()
Get the list of locators of specific lookup services to join.
|
LookupLocator[] |
AdminProxy.getLookupLocators() |
Modifier and Type | Method and Description |
---|---|
void |
OutriggerServerWrapper.addLookupLocators(LookupLocator[] locators) |
void |
OutriggerServerImpl.addLookupLocators(LookupLocator[] locators) |
void |
JoinStateManager.addLookupLocators(LookupLocator[] locators)
Add locators for specific new lookup services to join.
|
void |
AdminProxy.addLookupLocators(LookupLocator[] locators) |
private void |
JoinStateManager.prepareLocators(LookupLocator[] locators)
Apply
lookupLocatorPreparer to each locator in the
array, replacing the original locator with the result of the
prepareProxy call. |
void |
OutriggerServerWrapper.removeLookupLocators(LookupLocator[] locators) |
void |
OutriggerServerImpl.removeLookupLocators(LookupLocator[] locators) |
void |
JoinStateManager.removeLookupLocators(LookupLocator[] locators)
Remove locators for specific lookup services from the set to join.
|
void |
AdminProxy.removeLookupLocators(LookupLocator[] locators) |
void |
OutriggerServerWrapper.setLookupLocators(LookupLocator[] locators) |
void |
OutriggerServerImpl.setLookupLocators(LookupLocator[] locators) |
void |
JoinStateManager.setLookupLocators(LookupLocator[] locators)
Replace the list of locators of specific lookup services to join
with a new list.
|
void |
AdminProxy.setLookupLocators(LookupLocator[] locators) |
Modifier and Type | Field and Description |
---|---|
private LookupLocator |
RegistrarImpl.Announce.lastLocator
LookupLocator associated with cached datagram packets
|
private LookupLocator[] |
RegistrarImpl.LookupLocatorsChangedLogObj.locators
The new locators to join.
|
private LookupLocator[] |
RegistrarImpl.lookupLocators
The locators of other lookups we should join
|
(package private) LookupLocator[] |
RegistrarImpl.Initializer.lookupLocators |
private LookupLocator |
RegistrarImpl.myLocator
Our LookupLocator
|
Modifier and Type | Method and Description |
---|---|
LookupLocator |
RegistrarProxy.getLocator() |
LookupLocator |
RegistrarImpl.getLocator() |
LookupLocator |
Registrar.getLocator()
Returns a LookupLocator that can be used if necessary for unicast
discovery of the lookup service.
|
LookupLocator[] |
RegistrarImpl.getLookupLocators() |
LookupLocator[] |
AdminProxy.getLookupLocators() |
private static LookupLocator[] |
RegistrarImpl.prepareLocators(LookupLocator[] locators,
ProxyPreparer preparer,
boolean tolerateFailures)
Returns new array containing locators from the given non-null array
prepared using the given proxy preparer.
|
private static LookupLocator[] |
RegistrarImpl.unmarshalLocators(ObjectInputStream in)
Returns locators unmarshalled from a null-terminated list of
MarshalledInstances read from the given stream, logging (but tolerating)
unmarshalling failures.
|
Modifier and Type | Method and Description |
---|---|
void |
RegistrarImpl.addLookupLocators(LookupLocator[] locators) |
void |
AdminProxy.addLookupLocators(LookupLocator[] locators) |
private static void |
RegistrarImpl.marshalLocators(LookupLocator[] locators,
ObjectOutputStream out)
Writes locators to the given stream as a null-terminated list of
MarshalledInstances.
|
private static LookupLocator[] |
RegistrarImpl.prepareLocators(LookupLocator[] locators,
ProxyPreparer preparer,
boolean tolerateFailures)
Returns new array containing locators from the given non-null array
prepared using the given proxy preparer.
|
void |
RegistrarImpl.removeLookupLocators(LookupLocator[] locators) |
void |
AdminProxy.removeLookupLocators(LookupLocator[] locators) |
void |
RegistrarImpl.setLookupLocators(LookupLocator[] locators) |
void |
AdminProxy.setLookupLocators(LookupLocator[] locators) |
Constructor and Description |
---|
LookupLocatorsChangedLogObj(LookupLocator[] locators)
Simple constructor
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.