Package com.atlassian.confluence.util
Interface LicenseCalculator
- All Known Implementing Classes:
 ReadOnlyLicenseCalculator
public interface LicenseCalculator
Calculates the number of Users in a Confluence instance.
- 
Method Summary
Modifier and TypeMethodDescriptionReturns the number of users in the Confluence instancebooleanWhether or not the license calculator is currently computing the number of users in the system. 
- 
Method Details
- 
getNumberOfLicensedUsers
Integer getNumberOfLicensedUsers()Returns the number of users in the Confluence instance- Returns:
 - the number of users, or -1 if a timeout occurs (for compatibility with existing code)
 
 - 
isRunning
boolean isRunning()Whether or not the license calculator is currently computing the number of users in the system.- Returns:
 - true/false
 
 
 -