Package | Description |
---|---|
org.apache.sling.discovery |
Provides a service to interface which may be implemented by applications
to get notified on cluster topology changes.
|
org.apache.sling.discovery.base.commons |
Provides some common classes for discovery implementors that
choose to extend from discovery.base
|
org.apache.sling.discovery.commons |
Provides commons utility for users for the Discovery API.
|
org.apache.sling.discovery.commons.providers |
Provides commons utility for providers of the Discovery API.
|
Modifier and Type | Method and Description |
---|---|
TopologyView |
TopologyEvent.getNewView()
Returns the view which is currently (i.e.
|
TopologyView |
TopologyEvent.getOldView()
Returns the view which was valid up until now.
|
TopologyView |
DiscoveryService.getTopology()
Returns the topology that was last discovered by this service.
|
Constructor and Description |
---|
TopologyEvent(TopologyEvent.Type type,
TopologyView oldView,
TopologyView newView) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTopologyView
Default Implementation of the topology view interface
|
Modifier and Type | Method and Description |
---|---|
TopologyView |
BaseDiscoveryService.getTopology() |
Constructor and Description |
---|
InstancesDiff(TopologyView oldView,
TopologyView newView)
Create a new
InstancesDiff based on the instances from the old and
new TopologyView topology views provided. |
Modifier and Type | Class and Description |
---|---|
class |
BaseTopologyView
Very simple abstract base class for the TopologyView which
comes with the 'setNotCurrent()' method - that allows the
ViewStateManager to mark a topologyView as no longer current
- and the isCurrent() is handled accordingly.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.