public static interface UserPrefetcher.PrefetchDao
InternalUserDao.findByNames(long, Collection)
to perform bulk load and pre-caching we define a more narrow interface that returns only the user count, rather than the
user collection. This gives more scope for an optimised implementation.Modifier and Type | Method and Description |
---|---|
int |
prefetchAndCacheUsers(long directoryId,
Collection<String> usernames) |
int prefetchAndCacheUsers(long directoryId, Collection<String> usernames)
Copyright © 2003–2021 Atlassian. All rights reserved.