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
 Integer getNumberOfLicensedUsers()
          Returns the number of users in the Confluence instance
 boolean 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


Copyright © 2003-2013 Atlassian. All Rights Reserved.