Class GameProfileCache

java.lang.Object
net.minecraft.server.players.GameProfileCache

public class GameProfileCache extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • GAMEPROFILES_MRU_LIMIT

      private static final int GAMEPROFILES_MRU_LIMIT
      See Also:
    • GAMEPROFILES_EXPIRATION_MONTHS

      private static final int GAMEPROFILES_EXPIRATION_MONTHS
      See Also:
    • usesAuthentication

      private static boolean usesAuthentication
    • profilesByName

      private final Map<String,GameProfileCache.GameProfileInfo> profilesByName
    • profilesByUUID

      private final Map<UUID,GameProfileCache.GameProfileInfo> profilesByUUID
    • requests

      private final Map<String,CompletableFuture<Optional<com.mojang.authlib.GameProfile>>> requests
    • profileRepository

      private final com.mojang.authlib.GameProfileRepository profileRepository
    • gson

      private final com.google.gson.Gson gson
    • file

      private final File file
    • operationCount

      private final AtomicLong operationCount
    • executor

      @Nullable private Executor executor
  • Constructor Details

    • GameProfileCache

      public GameProfileCache(com.mojang.authlib.GameProfileRepository p_10974_, File p_10975_)
  • Method Details