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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getNumberOfLicensedUsers()
Returns the number of users in the Confluence instanceboolean
isRunning()
Whether or not the license calculator is currently computing the number of users in the system.
-
-
-
Method Detail
-
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
-
-