public abstract class BaseDiscoveryService extends java.lang.Object implements DiscoveryService
| Constructor and Description |
|---|
BaseDiscoveryService() |
| Modifier and Type | Method and Description |
|---|---|
TopologyView |
getTopology()
Returns the topology that was last discovered by this service.
|
public TopologyView getTopology()
DiscoveryService
If for some reason the service is currently not able to do topology discovery
it will return the last valid topology marked with
Note that this call is synchronized with false in the call
to TopologyEventListener.handleTopologyEvent()
calls: ie if calls to TopologyEventListener.handleTopologyEvent() are currently
ongoing, then the call to this method will block until all TopologyEventListeners
have been called. Be careful not to cause deadlock situations.
getTopology in interface DiscoveryServiceDiscoveryService.getTopology()"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"