Class ClusterPanicAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.cluster.safety.ClusterPanicAnalyticsEvent
-
public class ClusterPanicAnalyticsEvent extends Object
Used when theClusterSafetyManager
detects a fatal error in the configuration of the cluster.- Since:
- 5.10
- See Also:
ClusterSafetyManager
,ClusterSafetyJob
-
-
Constructor Summary
Constructors Constructor Description ClusterPanicAnalyticsEvent(boolean isClustered, int nodesCount, int maxNodes, int maxUsers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxNodes()
Get maximum number of nodes allowed by current licenseint
getMaxUsers()
Get maximum number of users allowed by current licenseint
getNodesCount()
Get number of cluster nodes up and running at the time when panic happensboolean
isClustered()
-
-
-
Method Detail
-
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
-
-