| java.lang.Object | |
| ↳ | com.atlassian.confluence.util.DefaultUserChecker |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | UNLIMITED_USER_THRESHOLD | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.confluence.util.UserChecker
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CACHE_KEY | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.confluence.util.UserChecker
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Decrements the cached number of registered users.
| |||||||||||
Returns cached value of the number of registered users.
| |||||||||||
cannot use spring injection here because userChecker is a dependency of userAccessor.
| |||||||||||
Increments the cached number of registered users.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.util.UserChecker
| |||||||||||
Decrements the cached number of registered users.
Returns cached value of the number of registered users. Computes it if it doesn't exist in cache (this may take a while for large user sets). The value is calculated in a seperate (read-only) thread. Returns -1 if the value cannot be computed successfully (for compatibility with existing code).
cannot use spring injection here because userChecker is a dependency of userAccessor. retrieve from ContainerManager to avoid circular bean reference.
Increments the cached number of registered users. only does so if cached value has been computed.