@NotThreadSafe public class UserCachingComparator extends Object implements Comparator<ApplicationUser>
This comparator completely ignores case, using the specified locale to make sure that
we correctly sort i18n characters. It uses locale-sensitive collation, which is very
expensive in CPU time. To minimise the overhead of this, it caches the collation keys
for users internally. See
for more information about collation keys and their performance implications.
WARNING: This class is NOT thread safe and caches information potentially about all users. You should not reuse instances of this class beyond the scope of a single servlet/rest/web request.
|Constructor and Description|
|Modifier and Type||Method and Description|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2002-2020 Atlassian. All Rights Reserved.