public class UserCountServiceImpl extends Object implements UserCountService
Constructor and Description |
---|
UserCountServiceImpl(UserChecker userChecker,
LicenseService licenseService) |
Modifier and Type | Method and Description |
---|---|
Integer |
getLicenseMaxUsers()
Return the maximum number of user allowed by the license, If this instance has an unlimited license then the result would be Integer.MAX_VALUE
|
com.google.common.base.Optional<Integer> |
getRemainingFreeSlots()
Return the number of "free" slots on this Confluence instance
|
Integer |
getUserCount() |
public UserCountServiceImpl(UserChecker userChecker, LicenseService licenseService)
public Integer getUserCount()
getUserCount
in interface UserCountService
public com.google.common.base.Optional<Integer> getRemainingFreeSlots()
UserCountService
getRemainingFreeSlots
in interface UserCountService
public Integer getLicenseMaxUsers()
UserCountService
getLicenseMaxUsers
in interface UserCountService
Copyright © 2003–2018 Atlassian. All rights reserved.