@PublicApi
public interface LicenseCountService
Modifier and Type | Method and Description |
---|---|
void |
flush()
Deprecated.
use
flushBillableUsersCache() . Since v7.0. Eventually we want to remove
this method in favour of the one with a more descriptive name. |
void |
flushBillableUsersCache()
Clear the cache for billable users.
|
int |
totalBillableUsers()
Gets the number of active users who currently count towards the license and should be charged for.
|
int totalBillableUsers()
In all cases this method will exclude Connect users from the count. In Cloud this will also exclude users who exist for the purpose of providing support (such as the Atlassian sysadmin user).
Implementations of this method should take performance into consideration, and ensure that the value is cached.
Use flush()
to clear the cache.
GlobalPermissionKey
void flush()
flushBillableUsersCache()
. Since v7.0. Eventually we want to remove
this method in favour of the one with a more descriptive name.void flushBillableUsersCache()
Copyright © 2002-2015 Atlassian. All Rights Reserved.
View cookie preferences