Package org.spongepowered.api.profile
Interface GameProfileManager
-
- All Superinterfaces:
GameProfileProvider
public interface GameProfileManager extends GameProfileProvider
ManagesGameProfile
creation and data population.The manager may cache the data of a request for faster lookups. Note that the cached data may not always be up to date.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GameProfileCache
cache()
Gets theGameProfileCache
of this provider which will be used to cache game profiles.GameProfileProvider
uncached()
Gets aGameProfileProvider
which bypasses theGameProfileCache
.-
Methods inherited from interface org.spongepowered.api.profile.GameProfileProvider
basicProfile, basicProfile, basicProfile, basicProfiles, basicProfiles, profile, profile, profile, profile, profile, profile
-
-
-
-
Method Detail
-
cache
GameProfileCache cache()
Gets theGameProfileCache
of this provider which will be used to cache game profiles.In vanilla, properties do not persist between restarts and profiles will expire after a month.
- Returns:
- The cache
-
uncached
GameProfileProvider uncached()
Gets aGameProfileProvider
which bypasses theGameProfileCache
.- Returns:
- The uncached game profile provider
-
-