Class InstanceInfo

java.lang.Object
org.apache.sling.discovery.oak.cluster.InstanceInfo

public class InstanceInfo extends Object
Data object containing all infos about a particular Sling instance
  • Constructor Details

    • InstanceInfo

      public InstanceInfo(int clusterNodeId, String slingId, long syncToken, String leaderElectionId)
  • Method Details

    • getLeaderElectionId

      public String getLeaderElectionId()
    • getClusterNodeId

      public int getClusterNodeId()
    • getSlingId

      public String getSlingId()
    • isSyncTokenNewerOrEqual

      public boolean isSyncTokenNewerOrEqual(long seqNum)
    • toString

      public String toString()
      Overrides:
      toString in class Object