Package | Description |
---|---|
net.jini.lease |
Standard service and utility classes for managing leases.
|
net.jini.lookup |
Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
|
org.apache.river.example.browser |
A visualization tool for exploring Jini Network Technology
communities (djinns) with support for ServiceUI.
|
org.apache.river.norm |
Provides implementations of
LeaseRenewalService . |
org.apache.river.norm.lookup |
Constructor and Description |
---|
LeaseRenewalEvent(LeaseRenewalManager source,
Lease lease,
long expiration,
Throwable ex)
Constructs an instance of this class with the specified state.
|
Modifier and Type | Field and Description |
---|---|
(package private) LeaseRenewalManager |
JoinManager.Conf.leaseRenewalManager |
private LeaseRenewalManager |
ServiceDiscoveryManager.leaseRenewalMgr |
(package private) LeaseRenewalManager |
ServiceDiscoveryManager.Initializer.leaseRenewalMgr |
private LeaseRenewalManager |
JoinManager.leaseRenewalMgr
Contains the lease renewal manager that renews all of the leases
this join manager's service holds with each lookup service with which
it has been registered.
|
Modifier and Type | Method and Description |
---|---|
LeaseRenewalManager |
ServiceDiscoveryManager.getLeaseRenewalManager()
The
getLeaseRenewalManager method will return an instance of
the LeaseRenewalManager class. |
LeaseRenewalManager |
JoinManager.getLeaseRenewalManager()
Returns the instance of the
LeaseRenewalManager class
that was either passed into the constructor, or that was created
as a result of null being input to that parameter. |
Modifier and Type | Method and Description |
---|---|
private static JoinManager.Conf |
JoinManager.getConf(Configuration config,
LeaseRenewalManager leaseMgr,
DiscoveryManagement discoveryMgr,
Object serviceProxy)
This method is for constructors that use an empty configuration.
|
private static JoinManager.Conf |
JoinManager.getConfig(Configuration config,
LeaseRenewalManager leaseMgr,
DiscoveryManagement discoveryMgr,
Object serviceProxy)
Gets the configuration and throws any exceptions.
|
private static ServiceDiscoveryManager.Initializer |
ServiceDiscoveryManager.init(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config) |
private static ServiceDiscoveryManager.Initializer |
ServiceDiscoveryManager.initial(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config) |
Constructor and Description |
---|
Conf(ProxyPreparer registrarPreparer,
ProxyPreparer registrationPreparer,
ProxyPreparer serviceLeasePreparer,
java.util.concurrent.ExecutorService taskManager,
WakeupManager wakeupManager,
Integer maxNretrys,
LeaseRenewalManager leaseRenewalManager,
Long renewalDuration,
DiscoveryManagement discoveryMgr,
boolean bcreateDisco) |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of this class that will register the
service with all discovered lookup services, using the supplied
ServiceID . |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, configured using the items
retrieved through the given
Configuration , that will
register the service with all discovered lookup services, using the
supplied ServiceID . |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceIDListener callback,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of this class that will register the given
service reference with all discovered lookup services and, through
an event sent to the given
ServiceIDListener object,
communicate the service ID assigned by the first lookup service
with which the service is registered. |
JoinManager(Object serviceProxy,
Entry[] attrSets,
ServiceIDListener callback,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, configured using the items
retrieved through the given
Configuration object,
that will register the given service reference with all discovered
lookup services and, through an event sent to the given
ServiceIDListener object, communicate the service ID
assigned by the first lookup service with which the service is
registered. |
ServiceDiscoveryManager(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of
ServiceDiscoveryManager which
will, on behalf of the entity that constructs this class, discover and
manage a set of lookup services, as well as discover and manage sets of
services registered with those lookup services. |
ServiceDiscoveryManager(DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, which is configured using the items
retrieved through the given
Configuration , that will, on
behalf of the entity that constructs this class, discover and manage a
set of lookup services, as well as discover and manage sets of services
registered with those lookup services. |
Modifier and Type | Field and Description |
---|---|
(package private) LeaseRenewalManager |
Browser.leaseMgr |
Modifier and Type | Field and Description |
---|---|
(package private) LeaseRenewalManager |
NormServerInitializer.lrm |
private LeaseRenewalManager |
NormServerBaseImpl.lrm
Lease renewal manager that actually renews the leases
|
Modifier and Type | Field and Description |
---|---|
private LeaseRenewalManager |
JoinState.lrm
Lease renewal manager (if any) that the client wants our
JoinManager to use. |
Constructor and Description |
---|
JoinState(Object service,
LeaseRenewalManager lrm,
Configuration config,
Entry[] serviceAttributes,
ProxyPreparer recoveredLookupLocatorPreparer,
ServiceID serviceID)
Simple constructor.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.