|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.util.ReadOnlyLicenseCalculator
public class ReadOnlyLicenseCalculator
Calculates the number of Users in a Confluence instance. Performs the calculation in a separate thread using a read only transaction.
| Constructor Summary | |
|---|---|
ReadOnlyLicenseCalculator(TransactionExecutor<java.lang.Integer> executor)
|
|
| Method Summary | |
|---|---|
java.lang.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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadOnlyLicenseCalculator(TransactionExecutor<java.lang.Integer> executor)
| Method Detail |
|---|
public boolean isRunning()
LicenseCalculator
isRunning in interface LicenseCalculatorpublic java.lang.Integer getNumberOfLicensedUsers()
LicenseCalculator
getNumberOfLicensedUsers in interface LicenseCalculatorpublic void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||