Class LocalClusterView
- java.lang.Object
-
- org.apache.sling.discovery.commons.providers.DefaultClusterView
-
- org.apache.sling.discovery.commons.providers.spi.LocalClusterView
-
- All Implemented Interfaces:
ClusterView
public class LocalClusterView extends DefaultClusterView
-
-
Constructor Summary
Constructors Constructor Description LocalClusterView(java.lang.String id, java.lang.String localClusterSyncTokenId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocalClusterSyncTokenId()
java.util.Set<java.lang.Integer>
getPartiallyStartedClusterNodeIds()
boolean
hasPartiallyStartedInstances()
boolean
isPartiallyStarted(java.lang.Integer clusterNodeId)
void
setPartiallyStartedClusterNodeIds(java.util.Collection<java.lang.Integer> clusterNodeIds)
-
Methods inherited from class org.apache.sling.discovery.commons.providers.DefaultClusterView
addInstanceDescription, equals, getId, getInstances, getLeader, getLocalInstance, hashCode, removeInstanceDescription, toString
-
-
-
-
Method Detail
-
getLocalClusterSyncTokenId
public java.lang.String getLocalClusterSyncTokenId()
-
getPartiallyStartedClusterNodeIds
public java.util.Set<java.lang.Integer> getPartiallyStartedClusterNodeIds()
-
setPartiallyStartedClusterNodeIds
public void setPartiallyStartedClusterNodeIds(java.util.Collection<java.lang.Integer> clusterNodeIds)
-
isPartiallyStarted
public boolean isPartiallyStarted(java.lang.Integer clusterNodeId)
-
hasPartiallyStartedInstances
public boolean hasPartiallyStartedInstances()
-
-