Class ProfileResolver.Cached
java.lang.Object
net.minecraft.server.players.ProfileResolver.Cached
- All Implemented Interfaces:
ProfileResolver
- Enclosing interface:
ProfileResolver
-
Nested Class Summary
Nested classes/interfaces inherited from interface ProfileResolver
ProfileResolver.Cached -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.cache.LoadingCache<UUID, Optional<GameProfile>> private final com.google.common.cache.LoadingCache<String, Optional<GameProfile>> -
Constructor Summary
ConstructorsConstructorDescriptionCached(MinecraftSessionService sessionService, UserNameToIdResolver nameToIdCache) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ProfileResolver
fetchByNameOrId
-
Field Details
-
profileCacheByName
private final com.google.common.cache.LoadingCache<String, Optional<GameProfile>> profileCacheByName -
profileCacheById
-
-
Constructor Details
-
Cached
-
-
Method Details
-
fetchByName
- Specified by:
fetchByNamein interfaceProfileResolver
-
fetchById
- Specified by:
fetchByIdin interfaceProfileResolver
-