Package | Description |
---|---|
org.apache.sling.discovery |
Provides a service to interface which may be implemented by applications
to get notified on cluster topology changes.
|
Modifier and Type | Method and Description |
---|---|
InstanceDescription |
ClusterView.getLeader()
Provides the InstanceDescription belonging to the leader instance.
|
InstanceDescription |
TopologyView.getLocalInstance()
Provides the InstanceDescription belonging to this instance.
|
Modifier and Type | Method and Description |
---|---|
Set<InstanceDescription> |
TopologyView.findInstances(InstanceFilter filter)
Searches through this topology and picks those accepted by the provided
InstanceFilter - and returns them without any particular order |
Set<InstanceDescription> |
TopologyView.getInstances()
Provides the set of InstanceDescriptions in the entire topology,
without any particular order
|
List<InstanceDescription> |
ClusterView.getInstances()
Provides the list of InstanceDescriptions with a stable ordering.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InstanceFilter.accept(InstanceDescription instance)
Returns true if this InstanceFilter selects the given InstanceDescription.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.