Class RegisteredUsersCache


  • public class RegisteredUsersCache
    extends Object
    An abstraction around a cache which contains the number of the registered users.
    Since:
    5.10
    • Constructor Detail

      • RegisteredUsersCache

        public RegisteredUsersCache​(com.atlassian.cache.CacheFactory cacheFactory)
    • Method Detail

      • getCacheName

        @Deprecated
        public static String getCacheName()
        Deprecated.
        since 5.10. Don't use this. You don't need it.
      • clear

        public void clear()
      • getNumberOfRegisteredUsers

        public int getNumberOfRegisteredUsers​(Supplier<Integer> valueSupplier)
      • setNumberOfRegisteredUsers

        public void setNumberOfRegisteredUsers​(int val)