Class ClusterPanicAnalyticsEvent

java.lang.Object
com.atlassian.confluence.cluster.safety.ClusterPanicAnalyticsEvent

public class ClusterPanicAnalyticsEvent extends Object
Used when the ClusterSafetyManager detects a fatal error in the configuration of the cluster.
Since:
5.10
See Also:
  • Constructor Details

    • ClusterPanicAnalyticsEvent

      public ClusterPanicAnalyticsEvent(boolean isClustered, int nodesCount, int maxNodes, int maxUsers)
  • Method Details

    • isClustered

      public boolean isClustered()
    • getNodesCount

      public int getNodesCount()
      Get number of cluster nodes up and running at the time when panic happens
      Returns:
      number of cluster nodes
    • getMaxNodes

      public int getMaxNodes()
      Get maximum number of nodes allowed by current license
      Returns:
      maximum number of nodes by license
    • getMaxUsers

      public int getMaxUsers()
      Get maximum number of users allowed by current license
      Returns:
      maximum number of users allowed by current license or -1 if unlimited