Class ClusterPanicAnalyticsEvent
- java.lang.Object
 - 
- com.atlassian.confluence.cluster.safety.ClusterPanicAnalyticsEvent
 
 
- 
public class ClusterPanicAnalyticsEvent extends Object
Used when theClusterSafetyManagerdetects 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 intgetMaxNodes()Get maximum number of nodes allowed by current licenseintgetMaxUsers()Get maximum number of users allowed by current licenseintgetNodesCount()Get number of cluster nodes up and running at the time when panic happensbooleanisClustered() 
 - 
 
- 
- 
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 
-1if unlimited 
 
 - 
 
 -