Class ClusterPanicAnalyticsEvent
java.lang.Object
com.atlassian.confluence.cluster.safety.ClusterPanicAnalyticsEvent
Used when the
ClusterSafetyManager detects a fatal error in the configuration of the cluster.- Since:
- 5.10
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClusterPanicAnalyticsEvent(boolean isClustered, int nodesCount, int maxNodes, int maxUsers) -
Method Summary
Modifier and TypeMethodDescriptionintGet maximum number of nodes allowed by current licenseintGet maximum number of users allowed by current licenseintGet number of cluster nodes up and running at the time when panic happensboolean
-
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
-1if unlimited
-