public final class CrowdUserCache extends Object
TimestampedUsers.| Modifier and Type | Class and Description |
|---|---|
static interface |
CrowdUserCache.BulkLoader |
| Constructor and Description |
|---|
CrowdUserCache(com.atlassian.cache.Cache<CachedCrowdEntityCacheKey,io.atlassian.fugue.Option<com.atlassian.crowd.model.user.TimestampedUser>> userCache) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends com.atlassian.crowd.model.user.TimestampedUser> |
findByNames(long directoryId,
Collection<String> userNames,
CrowdUserCache.BulkLoader loader)
Finds all users with the given usernames.
|
public CrowdUserCache(com.atlassian.cache.Cache<CachedCrowdEntityCacheKey,io.atlassian.fugue.Option<com.atlassian.crowd.model.user.TimestampedUser>> userCache)
public Collection<? extends com.atlassian.crowd.model.user.TimestampedUser> findByNames(long directoryId, Collection<String> userNames, CrowdUserCache.BulkLoader loader)
directoryId - The ID of the directory the users are inuserNames - The usernames of the users to findloader - The bulk loader function for loading uncached usersCopyright © 2003–2022 Atlassian. All rights reserved.