Class ClusterViewImpl
- java.lang.Object
-
- org.apache.sling.discovery.impl.standalone.ClusterViewImpl
-
- All Implemented Interfaces:
org.apache.sling.discovery.ClusterView
public class ClusterViewImpl extends Object implements org.apache.sling.discovery.ClusterView
-
-
Constructor Summary
Constructors Constructor Description ClusterViewImpl(org.apache.sling.discovery.InstanceDescription myInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()List<org.apache.sling.discovery.InstanceDescription>getInstances()org.apache.sling.discovery.InstanceDescriptiongetLeader()
-
-
-
Method Detail
-
getLeader
public org.apache.sling.discovery.InstanceDescription getLeader()
- Specified by:
getLeaderin interfaceorg.apache.sling.discovery.ClusterView
-
getInstances
public List<org.apache.sling.discovery.InstanceDescription> getInstances()
- Specified by:
getInstancesin interfaceorg.apache.sling.discovery.ClusterView
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.apache.sling.discovery.ClusterView
-
-