Package | Description |
---|---|
net.jini.lookup |
Standard utility classes for managing the join state of a service
and the service discovery duties of a client or service.
|
Modifier and Type | Field and Description |
---|---|
protected ServiceDiscoveryManager.ProxyReg |
ServiceDiscoveryManager.CacheTask.reg |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<ServiceDiscoveryManager.ProxyReg,ServiceDiscoveryManager.EventReg> |
ServiceDiscoveryManager.LookupCacheImpl.eventRegMap |
private Set<ServiceDiscoveryManager.ProxyReg> |
ServiceDiscoveryManager.proxyRegSet |
Modifier and Type | Method and Description |
---|---|
ServiceDiscoveryManager.ProxyReg |
ServiceDiscoveryManager.CacheTask.getProxyReg()
Returns the ProxyReg associated with this task (if any).
|
private ServiceDiscoveryManager.ProxyReg |
ServiceDiscoveryManager.removeReg(ServiceRegistrar proxy)
Removes and returns element from proxyRegSet that corresponds to the
given proxy.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceDiscoveryManager.LookupCacheImpl.addProxyReg(ServiceDiscoveryManager.ProxyReg reg)
Add a new ProxyReg to the lookupCache.
|
private void |
ServiceDiscoveryManager.cacheAddProxy(ServiceDiscoveryManager.ProxyReg reg)
Adds the given proxy to all the caches maintained by the SDM.
|
private void |
ServiceDiscoveryManager.dropProxy(ServiceDiscoveryManager.ProxyReg reg)
Removes the given proxy from all the caches maintained by the SDM.
|
boolean |
ServiceDiscoveryManager.CacheTask.isFromProxy(ServiceDiscoveryManager.ProxyReg reg) |
private void |
ServiceDiscoveryManager.LookupCacheImpl.lookup(ServiceDiscoveryManager.ProxyReg reg,
ServiceDiscoveryManager.EventReg eReg)
Requests a "snapshot" of the given registrar's state.
|
private void |
ServiceDiscoveryManager.LookupCacheImpl.newOldService(ServiceDiscoveryManager.ProxyReg reg,
ServiceItem item,
boolean matchMatchEvent)
Method used to process the service state
("snapshot"), matching this cache's template, retrieved from
the given lookup service.
|
void |
ServiceDiscoveryManager.LookupCacheImpl.removeProxyReg(ServiceDiscoveryManager.ProxyReg reg)
Remove a ProxyReg from the lookupCache.
|
private void |
ServiceDiscoveryManager.CacheTaskDependencyManager.removeUselessTask(ServiceDiscoveryManager.ProxyReg reg)
Removes from the cache's task queue, all pending tasks associated
with the given ProxyReg.
|
Constructor and Description |
---|
CacheTask(ServiceDiscoveryManager.ProxyReg reg,
long seqN) |
ProxyRegDropTask(ServiceDiscoveryManager.ProxyReg reg,
ServiceDiscoveryManager.EventReg eReg,
long seqN,
ServiceDiscoveryManager.LookupCacheImpl cache) |
RegisterListenerTask(ServiceDiscoveryManager.ProxyReg reg,
long seqN,
ServiceDiscoveryManager.LookupCacheImpl cache) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.