public interface

LicenseCalculator

com.atlassian.confluence.util.LicenseCalculator
Known Indirect Subclasses

Class Overview

Calculates the number of Users in a Confluence instance.

Summary

Public Methods
abstract Integer getNumberOfLicensedUsers()
Returns the number of users in the Confluence instance
abstract boolean isRunning()
Whether or not the license calculator is currently computing the number of users in the system.

Public Methods

public abstract 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)

public abstract boolean isRunning ()

Whether or not the license calculator is currently computing the number of users in the system.

Returns
  • true/false