|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterViewService
The ClusterViewService is responsible and provides access to the view established in a JcR cluster.
Method Summary | |
---|---|
boolean |
contains(String slingId)
checks whether the cluster view contains a particular sling id |
boolean |
containsAny(Collection<org.apache.sling.discovery.InstanceDescription> listInstances)
checks whether the cluster contains any of the provided instances |
org.apache.sling.discovery.ClusterView |
getClusterView()
the current cluster view |
String |
getIsolatedClusterViewId()
the view id of the cluster view when isolated - ie before any view is established |
String |
getSlingId()
the sling id of the local instance |
Method Detail |
---|
String getSlingId()
org.apache.sling.discovery.ClusterView getClusterView()
String getIsolatedClusterViewId()
boolean contains(String slingId)
boolean containsAny(Collection<org.apache.sling.discovery.InstanceDescription> listInstances)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |