public class ReadOnlyLicenseCalculator extends Object implements LicenseCalculator
Constructor and Description |
---|
ReadOnlyLicenseCalculator(RegisteredUsersCache registeredUsersCache,
TransactionExecutor<Integer> executor) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
Deprecated.
since 5.10.
|
public ReadOnlyLicenseCalculator(RegisteredUsersCache registeredUsersCache, TransactionExecutor<Integer> executor)
public boolean isRunning()
LicenseCalculator
isRunning
in interface LicenseCalculator
public Integer getNumberOfLicensedUsers()
LicenseCalculator
getNumberOfLicensedUsers
in interface LicenseCalculator
@Deprecated public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
Copyright © 2003–2021 Atlassian. All rights reserved.